mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 10:09:38 +02:00
this fixes #1142
This commit is contained in:
parent
f9019524a8
commit
1db1638c7f
@ -133,7 +133,11 @@ vAPI.tabs.onPopup = function(details) {
|
||||
|
||||
// https://github.com/gorhill/uBlock/issues/323
|
||||
// If popup URL is whitelisted, do not block it
|
||||
if ( result === '' && µb.getNetFilteringSwitch(targetURL) ) {
|
||||
if (
|
||||
result === '' &&
|
||||
µb.getNetFilteringSwitch(openerURL) &&
|
||||
µb.getNetFilteringSwitch(targetURL)
|
||||
) {
|
||||
result = µb.staticNetFilteringEngine.matchStringExactType(context, targetURL, 'popup');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user