mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Further fine tune nowoif scriptlet
This commit is contained in:
parent
0598476b99
commit
cb6486859c
@ -80,7 +80,7 @@
|
||||
const decoy = /\bobj\b/.test(arg3)
|
||||
? createDecoy('object', 'data', url)
|
||||
: createDecoy('iframe', 'src', url);
|
||||
let popup = decoy.contentWindow;
|
||||
let popup = decoy.contentWindow || decoy;
|
||||
Object.defineProperty(popup, 'closed', { value: false });
|
||||
if ( /\blog\b/.test(arg3) ) {
|
||||
popup = new Proxy(popup, {
|
||||
|
Loading…
Reference in New Issue
Block a user