From f4a1bad04803f4210dcdb6094a34c383646b823e Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 23 Oct 2015 12:52:51 -0400 Subject: [PATCH] raw URL can be the empty string for behind-the-scene scope --- src/js/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tab.js b/src/js/tab.js index 6a571a412..085804db5 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -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();