1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00
This commit is contained in:
gorhill 2017-04-24 18:30:06 -04:00
parent 2369794c2c
commit 5c9ffd9af5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -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 ) {