Bug 1455165 - Filter external apps out if needed. r=mcomella

This commit is contained in:
Igor Oliveira 2018-04-18 17:16:00 +03:00
parent 4ad9f49ebe
commit d38109b6e2

View File

@ -6253,6 +6253,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) {