mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-29 08:41:11 +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;
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue