From 231afb565ad90cdf25147b21162f0cc0405470c4 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 2 Apr 2015 08:54:06 -0400 Subject: [PATCH] translation work from https://crowdin.com/project/ublock --- platform/firefox/frameModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/frameModule.js b/platform/firefox/frameModule.js index aab4473..f4f6829 100644 --- a/platform/firefox/frameModule.js +++ b/platform/firefox/frameModule.js @@ -275,7 +275,7 @@ const contentObserver = { let loc = win.location; - if ( loc.protocol !== 'http:' && loc.protocol !== 'https:' ) { + if ( loc.protocol !== 'http:' && loc.protocol !== 'https:' && loc.protocol !== 'file:' ) { if ( loc.protocol === 'chrome:' && loc.host === hostName ) { this.initContentScripts(win); }