From 13f746a2ca32dabad67da56c5110637e502d637d Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 5 Apr 2016 09:59:23 -0400 Subject: [PATCH] this fixes #1538 --- src/js/tab.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/tab.js b/src/js/tab.js index 8dd908062..540c82590 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -675,6 +675,11 @@ vAPI.tabs.onPopupUpdated = (function() { return; } + // https://github.com/gorhill/uBlock/issues/1538 + if ( µb.getNetFilteringSwitch(µb.normalizePageURL(openerTabId, openerURL)) === false ) { + return; + } + // If the page URL is that of our "blocked page" URL, extract the URL of // the page which was blocked. if ( targetURL.startsWith(vAPI.getURL('document-blocked.html')) ) {