V
V
Vasily Vasilyev2017-08-25 17:18:14
Internet advertising
Vasily Vasilyev, 2017-08-25 17:18:14

Smart ad blocking. How to write a filter?

Until recently, almost all blockers successfully coped with intrusive advertising. About a month ago, I encountered "smart" advertising: id / class / link dynamically changed by inline JS (you don't have to look far for an example - seasonvar.ru).
I wouldn't mind supporting the project by leaving her if she wasn't so aggressive. You go to read an article on quantum physics - and you have a carousel on the floor of the screen with "Increase *uy by 15cm/hour!", "Get rid of cancer in 5 minutes" and other wonderful offers with detailed illustrations of the content, without any censorship.
I tried to write filters based on scripts - this is how they adjust. You delete one - it is loaded through the other, and so on ad infinitum. And completely disable scripts - half of the useful material is not displayed.
So the question is: how to filter such "smart" ads? Perhaps someone succeeded?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2017-08-25
@Griboks

Filter by resource addresses?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question