mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
raw URL can be the empty string for behind-the-scene scope
This commit is contained in:
parent
ff4ef62747
commit
f4a1bad048
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ housekeep itself.
|
|||
// https://github.com/chrisaljoudi/uBlock/issues/1078
|
||||
// Use both the raw and normalized URLs.
|
||||
this.netFiltering = µb.getNetFilteringSwitch(this.normalURL);
|
||||
if ( this.netFiltering && this.rawURL !== this.normalURL ) {
|
||||
if ( this.netFiltering && this.rawURL !== this.normalURL && this.rawURL !== '' ) {
|
||||
this.netFiltering = µb.getNetFilteringSwitch(this.rawURL);
|
||||
}
|
||||
this.netFilteringReadTime = Date.now();
|
||||
|
|
|
|||
Loading…
Reference in a new issue