Gmail, Whitelisting and Div Blocking

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

Gmail, Whitelisting and Div Blocking

Post by mrbene »

Continued (somewhat) from here.

I don't know why I block ads for sure. Depends day to day. I like it when a site looks better with ads blocked than without - like the Hotmail interface, or some news feeds, or my site. I don't like it when a site creates a table just to hold an ad, puts a border around it and spans the text around that.

I'm also lazy. I think I've said this more than once. It's the "if I'm going to do something, I'll do it well enough that I don't have to do it again" lazy, not the "I'll do it quick" lazy.

My big block of "ad" filters is a little bit sloppy in the middle, so that sometimes it got false positives in Gmail - generally on the iframes, which was really annoying, 'cause nothing shows as blocked and Fx just spins. So I whitelisted @@http://gmail.google.com and now replaced with @@http://mail.google.com.

In order to block the basic DIV ads, I use:

Code: Select all

/DIV\(ad-?(div|page|top|int|side|)\)/
This should catch the Gmail #DIV(ad), except that I've got Gmail whitelisted. So maybe modifying the gmail whitelist to

Code: Select all

@@/http:\/\/mail\.google\.com.*[^)]$/
but then if there is a DIV that matches my lazy ads filter, I'm in a bit of a mess.

Is that even how regex goes into the whitelist filters?

Time for some testing then.
Locked