Create DIV specific filters

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
User avatar
mcm
Posts: 359
Joined: Sat Jun 10, 2006 2:36 am

Create DIV specific filters

Post by mcm »

Here's a couple of tips regarding the blocking of DIVs if anyone is interested. If you want to create a filter that will only match DIVs then start your filter with:

/#DIV.*

For example /ad/ will block all the ads on www.wininformant.com (not a recommended filter, too many false positives) but /#DIV.*ad/ will only block the DIV ads.

If you want to create a filter that never blocks DIVs then end your filter with:

.*[^)]$/

For example /ad/ will become /ad.*[^)]$/ and will block all the ads on www.wininformant.com except for the DIV ads.
Locked