Custom filter with no div id, please help

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
Ololoev

Custom filter with no div id, please help

Post by Ololoev »

Hi guys, please help.

I want to block a special div, usually they have an id in them and there is no problem in creating a filter, but this time i can't use it.

So the code to be blocked:

Code: Select all

<div style="width:1300px; margin: 0px auto;">some crappy ads that even do not fit into my resolution</div>
how should i create a proper blocking rule?
User avatar
Gingerbread Man
Posts: 1339
Joined: Fri Aug 12, 2011 5:28 am

Re: Custom filter with no div id, please help

Post by Gingerbread Man »

Hello,

Code: Select all

example.com##div[style="width:1300px; margin: 0px auto;"]
Where example.com is the domain name in question.

The above rule may not be specific enough. It's hard to tell without seeing the actual page. Also, filter subscription authors update their subscriptions when they receive reports of ads that aren't blocked.
https://adblockplus.org/en/getting_started#false-negatives
Locked