How to circumvent Anti-Adblock

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Reciprocity
Posts: 4
Joined: Sun Aug 16, 2015 4:14 pm

How to circumvent Anti-Adblock

Post by Reciprocity »

So not knowing shit about programming I've been tracking some of the various scripts and the likes to try and find a generic script where you'd simply enter the url of the site and marvel as the anti-adblock messages dissappeared. So far I haven't found even 1 script that would work on euroman.dk so I'm hoping somebody out there could help me out (along with many others).
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: How to circumvent Anti-Adblock

Post by mapx »

test these filters

Code: Select all

||xyz.ouchmg.com/random.js?*$domain=euroman.dk
@@||euroman.dk^$script,domain=euroman.dk
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: How to circumvent Anti-Adblock

Post by lewisje »

I believe that in general this cannot be done, as a consequence of the undecidability of the halting problem (which is also why you can't make absolutely sure that any non-trivial application has no vulnerabilities, or that any non-trivial computer system can't get infected by malware).

For something specific to Javascript, I know that lots of on-page functionality can be hidden away in a closure, so that instead of disabling a particular function, you'd need to do something expensive like repeatedly crawling the DOM for certain common characteristics of anti-Adblock tactics if you wanted a general script.

With that said, Reek's Anti-Adblock Killer works quite well in conjunction with the ABP subscription of the same name, for specific sites that use specific anti-Adblock methods that can't be defeated with just blocking and hiding rules: [Redacted]

TL;DR: It's a cat-and-mouse game and there's nothing we can do about it.
Last edited by rach on Thu Nov 19, 2015 1:27 pm, edited 1 time in total.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Reciprocity
Posts: 4
Joined: Sun Aug 16, 2015 4:14 pm

Re: How to circumvent Anti-Adblock

Post by Reciprocity »

Thanks both of you!
The first script worked perfectly so I didn't feel the need to implement the other :)
Locked