D
D
dollar2020-08-27 06:37:02
css
dollar, 2020-08-27 06:37:02

How to block ads in an article that is part of an article using uBlock Origin?

You need to hide "As an advertisement" and everything else, until the very end of the article, that is, until </div>:

Example
5f472954445d2476002800.png


How to block the header I guessed:
###post-content-body > h4:has-text(/^На правах рекламы$/i)


How to block everything after the header, I also guessed:
###post-content-body > h4:has-text(/^На правах рекламы$/i) ~ *


But there are still text inserts that are not framed by any tags. How to highlight them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shamanov, 2020-08-27
@dollar

if for personal purposes there is minimal knowledge of js, then it is easier to use greatmonkey or something like that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question