L
L
lonelymyp2020-05-19 18:36:28
Ad blocking
lonelymyp, 2020-05-19 18:36:28

Conditional filters for Ublock?

Is it possible to set up a filter in the ad blocker so that an element is blocked based on its content? Conditional filter or something like that.
One of Avito's examples, you can block either the logo
5ec3fbe14711b653599131.jpeg

or the entire ad
5ec3fc1016119670166880.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
med1um, 2020-11-27
@med1um

Easily! For example, to hide any block containing the text "Safe shopping":
www.avito.ru##.js-catalog-item-enum:has-text(Safe shopping)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question