[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser/tor-browser-60.1.0esr-8.0-1] Bug 1455165 - Filter external apps out if needed. r=mcomella
commit 3d30d5d1f2ebbdf60af0180af435afad4ba7e773
Author: Igor Oliveira <igt0@xxxxxxxxxxxxxx>
Date: Wed Apr 18 17:16:00 2018 +0300
Bug 1455165 - Filter external apps out if needed. r=mcomella
---
mobile/android/chrome/content/browser.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mobile/android/chrome/content/browser.js b/mobile/android/chrome/content/browser.js
index 5f49c07a5ca5..2dc973a15ee7 100644
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -6235,6 +6235,10 @@ var ExternalApps = {
filter: {
matches: function(aElement) {
+ if (!Services.prefs.getBoolPref("network.protocol-handler.external-default")) {
+ return false;
+ }
+
let uri = ExternalApps._getMediaLink(aElement);
let apps = [];
if (uri) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits