mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-14 00:05:08 +12:00
This commit is contained in:
parent
840bf9564d
commit
5922c3fcde
|
@ -907,6 +907,8 @@ vAPI.tabs.open = function(details) {
|
|||
|
||||
for ( tab of this.getAllSync() ) {
|
||||
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
|
||||
if ( URI.equalsExceptRef(browser.currentURI) === false ) {
|
||||
|
|
Loading…
Reference in a new issue