Page 1 of 1

Create DIV specific filters

Posted: Mon Jun 20, 2005 6:32 am
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.