Page 1 of 1

Block javascript:window.opener ?

Posted: Tue Feb 07, 2017 12:19 pm
by tom2017
Hey,
I visit this regularly where I need to allow JS to have it working. However they have this very annoying script:

Code: Select all

javascript:window.opener=null;setTimeout(function(){window.location.href='http://random-ad-site.xyz'},250)
Which opens a new tab every 250 seconds by click anywhere on the site.

Neither FF nor ABP detect or block these pop-ups. I guess it's because it only happens on-click, so they cannot detect if it is wanted or unwanted popup.

So I was wondering can I block this specif function on this specific site in NS? (or would an ABP-filter better?)

Thanks.

Re: Block javascript:window.opener ?

Posted: Tue Feb 07, 2017 5:32 pm
by barbaz