Help with filter syntax

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
GoodTimesAhead
Posts: 4
Joined: Sat Aug 29, 2015 6:31 pm

Help with filter syntax

Post by GoodTimesAhead »

So I block this ad on a webpage which created the rule

Code: Select all

sitename.com###post-213880 > .post_content > div:nth-of-type(4)
On another page almost the same exact ad appears and when I block it I get a very similar filter

Code: Select all

sitename.com###post-210056 > .post_content > div:nth-of-type(6)
Any way I can change the syntax so I don't block each one seperately?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: Help with filter syntax

Post by mapx »

You can't make only 1 filter for these 2 cases.
More, as hiding filters are related to the site and not to a specific page you have to check if such filters don't break the pages (you created a filter for page 1 but ...the same filter can break page 2 for example).
GoodTimesAhead
Posts: 4
Joined: Sat Aug 29, 2015 6:31 pm

Re: Help with filter syntax

Post by GoodTimesAhead »

ok thank you very much
Locked