1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 00:05:08 +12:00
gorhill 2017-04-26 16:05:14 -04:00
parent 840bf9564d
commit 5922c3fcde

View file

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