mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 09:06:56 +13:00
translation work from https://crowdin.com/project/ublock
This commit is contained in:
parent
75ac4b979e
commit
231afb565a
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ const contentObserver = {
|
||||||
|
|
||||||
let loc = win.location;
|
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 ) {
|
if ( loc.protocol === 'chrome:' && loc.host === hostName ) {
|
||||||
this.initContentScripts(win);
|
this.initContentScripts(win);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue