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 2016-04-05 09:59:23 -04:00
parent 0df8acca8c
commit 13f746a2ca

View File

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