|
@ -907,6 +907,8 @@ vAPI.tabs.open = function(details) { |
|
|
|
|
|
|
|
|
for ( tab of this.getAllSync() ) { |
|
|
for ( tab of this.getAllSync() ) { |
|
|
var browser = tabWatcher.browserFromTarget(tab); |
|
|
var browser = tabWatcher.browserFromTarget(tab); |
|
|
|
|
|
// https://github.com/gorhill/uBlock/issues/2558
|
|
|
|
|
|
if ( browser === null ) { continue; } |
|
|
|
|
|
|
|
|
// Or simply .equals if we care about the fragment
|
|
|
// Or simply .equals if we care about the fragment
|
|
|
if ( URI.equalsExceptRef(browser.currentURI) === false ) { |
|
|
if ( URI.equalsExceptRef(browser.currentURI) === false ) { |
|
|