How to write correct filters?

Discussion of topics related to ad blocking.

Moderator: EasyList Authors

Post Reply
Fiddo
Site Member
Site Member
Posts: 13
Joined: Thu Jan 12, 2017 5:42 am
Reputation: 0

How to write correct filters?

Post by Fiddo » Sun Apr 15, 2018 6:09 pm

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
Lanik
Site Owner
Site Owner
Posts: 1477
Joined: Thu Feb 15, 2007 7:44 am
Reputation: 25
Location: /dev/null

Post by Lanik » Sun Apr 15, 2018 8:05 pm

"If it ain't broke don't fix it."

Fiddo
Site Member
Site Member
Posts: 13
Joined: Thu Jan 12, 2017 5:42 am
Reputation: 0

Post by Fiddo » Sun Apr 15, 2018 9:42 pm

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: 355
Joined: Tue Jul 05, 2016 7:46 pm
Reputation: 16

Post by -Mark- » Mon Apr 16, 2018 7:09 am

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
Reputation: 0

Post by archer » Fri Jul 06, 2018 7:34 am

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: 355
Joined: Tue Jul 05, 2016 7:46 pm
Reputation: 16

Post by -Mark- » Tue Jul 10, 2018 12:22 pm

You can now refer to Wiki too.

Post Reply