mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-07 03:12:33 +01:00
Fine tune nowoif scriptlet
This commit is contained in:
parent
f4bdee668c
commit
b33065e198
@ -80,6 +80,7 @@
|
||||
const decoy1 = createDecoy('iframe', 'src', url);
|
||||
const decoy2 = createDecoy('object', 'data', url);
|
||||
const popup = decoy1.contentWindow || decoy2.contentWindow;
|
||||
Object.defineProperty(popup, 'closed', { value: false });
|
||||
if ( arg3 === '' ) { return popup; }
|
||||
return new Proxy(popup, {
|
||||
get: function(target, prop) {
|
||||
|
Loading…
Reference in New Issue
Block a user