How to block: <p> ... ad text ... </p>

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Sneak-Snake
Posts: 2
Joined: Tue Jan 05, 2010 3:34 pm

How to block: <p> ... ad text ... </p>

Post by Sneak-Snake »

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.
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: How to block: <p> ... ad text ... </p>

Post by Michael »

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.
Sneak-Snake
Posts: 2
Joined: Tue Jan 05, 2010 3:34 pm

Re: How to block: <p> ... ad text ... </p>

Post by Sneak-Snake »

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.
Mark

Re: How to block: <p> ... ad text ... </p>

Post by Mark »

only something like proxomitron or Ad Muncher can do that.
Michael
Posts: 1361
Joined: Sat Dec 19, 2009 12:29 pm

Re: How to block: <p> ... ad text ... </p>

Post by Michael »

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.
Locked