mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
this fixes #1538
This commit is contained in:
parent
0df8acca8c
commit
13f746a2ca
@ -675,6 +675,11 @@ vAPI.tabs.onPopupUpdated = (function() {
|
|||||||
return;
|
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
|
// If the page URL is that of our "blocked page" URL, extract the URL of
|
||||||
// the page which was blocked.
|
// the page which was blocked.
|
||||||
if ( targetURL.startsWith(vAPI.getURL('document-blocked.html')) ) {
|
if ( targetURL.startsWith(vAPI.getURL('document-blocked.html')) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user