mirror of https://github.com/gorhill/uBlock.git
Further fine tune new `aost` scriptlet
This commit is contained in:
parent
da1547f33f
commit
793e2c7896
|
@ -229,7 +229,7 @@
|
||||||
let url = match[2];
|
let url = match[2];
|
||||||
if ( url.startsWith('(') ) { url = url.slice(1); }
|
if ( url.startsWith('(') ) { url = url.slice(1); }
|
||||||
if ( url === docURL ) {
|
if ( url === docURL ) {
|
||||||
url += '#inlineScript';
|
url = 'inlineScript';
|
||||||
} else if ( url.startsWith('<anonymous>') ) {
|
} else if ( url.startsWith('<anonymous>') ) {
|
||||||
url = 'injectedScript';
|
url = 'injectedScript';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue