hiding rules with condition

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
snowbarsik
Posts: 2
Joined: Fri Aug 25, 2017 8:08 am

hiding rules with condition

Post by snowbarsik »

Hello everybody.
is it possible to write kind of rule to hide element sub container contains certain text?
for example:

hide element
<tr class="vithot">
if inside this element exist text
щенок
or any other string like
щен*
Image
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: hiding rules with condition

Post by lewisje »

The answer is -abp-contains: forum/viewtopic.php?t=54633
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Post Reply