How to block whole <p>...</p> or <div>...</div> block if it contains some specific text?
Some specific ad. word (like 'odnoklassniki') present in HTML-element content but not in attributes. I read helps (including W3C selectors) but found nothing. If there are still method the description should be in help.
How to block: <p> ... ad text ... </p>
Re: How to block: <p> ... ad text ... </p>
I do not believe that it is possible to hide an element based on the text within it; however, the Adblock Plus Element Hiding Helper should assist you generating the filters that you require, which can block areas of a page based on a variety of attributes other than the content of a section.
-
- Posts: 2
- Joined: Tue Jan 05, 2010 3:34 pm
Re: How to block: <p> ... ad text ... </p>
Hiding Helper cannot do it. It is a new advertisement method when bots creates new topics at blogs with similar text. It would be good to hide such ads by using filters with specific sub-string in p/div.
Re: How to block: <p> ... ad text ... </p>
only something like proxomitron or Ad Muncher can do that.
Re: How to block: <p> ... ad text ... </p>
If you provide a link to a specific page where this appears I will have a look and see if any useful filters could be applied.