mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Bug 1455165 - Filter external apps out if needed. r=mcomella
This commit is contained in:
parent
4ad9f49ebe
commit
d38109b6e2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user