How to write correct filters?

Discussion of topics related to ad blocking.
Locked
Fiddo
Site Member
Site Member
Posts: 13
Joined: Thu Jan 12, 2017 5:42 am

How to write correct filters?

Post by Fiddo »

I always wondered if there was some real world tutorial on how to dig for the source of why something is not correctly working on a site, or why for example some site detects that you're using an adblocker. I tried searching all kind of topic on using the devtools etc... but is there really no video tutorial available on how to find out the specific problem on why site x detects that you're using an adblocker, and then writing the correct filter for fixing it ?

I truly believe a couple of those can convert a lot of filter beggers into actual filter writers, but so far no luck for finding a simple video tutorial.
User avatar
LanikSJ
Site Owner
Site Owner
Posts: 1806
Joined: Thu Feb 15, 2007 7:44 am
Location: /dev/null

Post by LanikSJ »

"If it ain't broke don't fix it."
Fiddo
Site Member
Site Member
Posts: 13
Joined: Thu Jan 12, 2017 5:42 am

Post by Fiddo »

Thanks but I was specifically asking for some tutorial how people eventually end up with filters like these :

Code: Select all

website.com##script:inject(abort-on-property-write.js, uabInject)
How to dissect source code and work toward the reason of a specific problem.
-Mark-
Postaholic
Postaholic
Posts: 382
Joined: Tue Jul 05, 2016 7:46 pm

Post by -Mark- »

That's from uBlock Origin, scriptlets which are used to inject can be found here As for the reason, it's an experiment of trial and error.
archer
New Member
New Member
Posts: 1
Joined: Fri Jul 06, 2018 7:32 am

Post by archer »

Thanks for the link, Mark!
That site is perfect for me. There's something magnetic about egaminghall.com.betsafe.online.casino. For the players there are options to choose slots. Now I want to get more information.
-Mark-
Postaholic
Postaholic
Posts: 382
Joined: Tue Jul 05, 2016 7:46 pm

Post by -Mark- »

You can now refer to Wiki too.
Locked