1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 00:05:08 +12:00
This commit is contained in:
gorhill 2015-04-02 08:54:06 -04:00
parent 75ac4b979e
commit 231afb565a

View file

@ -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);
}