mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
fix #2558
This commit is contained in:
parent
2369794c2c
commit
5c9ffd9af5
1 changed files with 2 additions and 0 deletions
|
|
@ -967,6 +967,8 @@ vAPI.tabs.open = function(details) {
|
|||
|
||||
for ( tab of this.getAll() ) {
|
||||
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