mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Further fine tune nowoif scriptlet
This commit is contained in:
parent
0598476b99
commit
cb6486859c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue