AdBlock+ whitelisted page contained ads

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
Post Reply
Will Pittenger

AdBlock+ whitelisted page contained ads

Post by Will Pittenger »

I normally block everything with the string "*promo*". However, I recently came across a page that matched the filter, but was not an ad. So I very carefully created a whitelist filter that allowed the page.

It turns out the page had ads within the page that I wanted to kill. However, AdBlock+ would not list them. Once I whitelisted the page, it refused to consider that there might be ads within the whitelisted page.

How about a fix for that?
milki

Post by milki »

i believe that's what happens with a whitelist.
Will Pittenger

Post by Will Pittenger »

Not acceptable. I want to kill those ads.
Guest

Post by Guest »

When you have such a crappy filter it is your fault. You cannot have a exeption filter of a exception filter of a exception filter ...

There is one whitelist and one blacklist; that is enough!
Will Pittenger

Post by Will Pittenger »

I get that from someone afraid to identify themselves. [removed]

I want a blacklist filter created by Filterset.G Updater to override the whitelist filter. As is, AdBlock does not list **any** components in the whitelisted page. I know the page has 3rd party images. Those are **not** whitelisted. In fact, they would be blocked by blacklist filters but are not. Why can't AdBlock+ even acknowledge their existence?
User avatar
pirlouy
Posts: 332
Joined: Sat Jun 10, 2006 2:33 pm
Location: France

Post by pirlouy »

Instead of whitelisting the page, you have to whitelist *elements you want to see*.

Give a link, maybe it could help
Will Pittenger

Post by Will Pittenger »

The page is the "element." The server name could be something like "Promos.pcmag.com" (may not be valid, but it fits the bill). If you attempt to whitelist the page, the ads on that pages, including any DoubleClick ads, are also whitelisted.

I am not willing to discuss any actual sites that have the Promo server name due to privacy reasons. However, the same problem happens with mlb.com. If you visit the homepage of your favorite team, you will find a popup happening unless you block a script. I do use NoScript, but unless I allow all MLB.com scripts, the schedule part of the page does not work. That appears to allow a popup an undesirable to specificclick.net. The same site also has valid popups for things like slideshows. That prevents me from just blocking all popups from MLB.com.
Fox
Posts: 300
Joined: Sat Jun 10, 2006 3:05 pm
Location: Finland

Post by Fox »

Whitelist without http://
Like @@mlb.com/*
All elements/items from mlb.com/ is whitelisted, but doubleclick ads are not.

If you still wanna block something that loads from mlb.com/,
you can whitelist just elements, like:
@@mlb.com/*.jpg*
@@mlb.com/*.gif*
@@mlb.com/mlb/images/homepage/*
and so on, you see what is blocked from sidebar and create element/item whitelisting filter.

ps: and this works with Adblock Plus 0.7.
I did not see pop ups there, only notification, Firefox 1.5 blocks them.
User avatar
pirlouy
Posts: 332
Joined: Sat Jun 10, 2006 2:33 pm
Location: France

Post by pirlouy »

Will Pittenger wrote:The server name could be something like "Promos.pcmag.com" (may not be valid, but it fits the bill). If you attempt to whitelist the page, the ads on that pages, including any DoubleClick ads, are also whitelisted.
Then, don't whitelist the page, else all elements will be displayed. You have to whitelist some elements like @@http://pub.pcmag.com/advertisement.js.
But yes indeed, if you want to display doubleclick script in this page, it won't be possible, because if you whitelist doubleclick script, you will whitelist "doubleclick" script for all sites. :/

But what do you expected from this option ("whitelist a site") ? It does what you ask, it doesn't block anything on that page. It's the way the option works...
Will Pittenger

Post by Will Pittenger »

Fox wrote:Whitelist without http://
Like @@mlb.com/*
All elements/items from mlb.com/ is whitelisted, but doubleclick ads are not.

If you still wanna block something that loads from mlb.com/,
you can whitelist just elements, like:
@@mlb.com/*.jpg*
@@mlb.com/*.gif*
@@mlb.com/mlb/images/homepage/*
and so on, you see what is blocked from sidebar and create element/item whitelisting filter.

ps: and this works with Adblock Plus 0.7.
I did not see pop ups there, only notification, Firefox 1.5 blocks them.
Whitelisting mlb.com without the http part would also whitelist mymlb.com as I understand that all non-regular expression filters implicitly have asterisks on each end.

Next, the latest AdBlock+ update appears to have reset the filters that I entered manually. mlb.com is still whitelisted. This means the whitelist entry comes from Filterset.G Updater.

Finally, that very same AdBlock+ update appears to have resolved the issue.
AmirG

Post by AmirG »

A bit too late, but how about whitelisting "//mlb.com"? This should solve the "mymlb.com" problem.
Fox
Posts: 300
Joined: Sat Jun 10, 2006 3:05 pm
Location: Finland

Post by Fox »

You are right, sorry... Then
@@.mlb.com/*
AmirG:s way is also good and maybe it works with your secret website:)
Will Pittenger

Post by Will Pittenger »

AmirG wrote:A bit too late, but how about whitelisting "//mlb.com"? This should solve the "mymlb.com" problem.
Sorry. The slashes still allow cardinals.mlb.com to be blocked. You would think that putting the period would help, but that requires you to add an askterisk as well. Even then something from the root server would not be excluded.

That is why I want something like '&' at the beginning of the string to match all servers on that sub-domain. The & would be valid only in non-regular expression strings. You would put it at the beginning of the string. If the string is a whitelist entry, the ampersand could go either before or after the "@@". "&yourdomain.com/*" to be evaluated as "/(\D+\.)*yourdomain\.com/[.\n]*/" rather than "/[.\n]*/yourdomain.com/[.\n]*/", only no escaping required.

Besides, since both problem filters from from Filterset.G Updater, there was not much I could do. As noted, AdBlock+ appears to have fixed the problem.
Paulfox

Post by Paulfox »

Will, I've been following this and am flummoxed. I know it must be frustrating. I've visited the mlb and your Cardinals link (saw it on the NoScript forum) - and I get no ads and no popups but can see all content, including dropdown menus.

The two filters that stop the ads (for me) are (split up so as not to widen
forum, enter as one single line):

/[\W_]ad(?!=&)(banners?|click|flow|frame|ima?g(es?)?|log|serv(er|e)?|stream|type|view|vert(ising|isements?)?|v|
js|trix|xchange|wrapper)?s?[\W\d_]/

and

/(2o7|a(kamaitech|nrdoezrs)|bns1|chitika|cjt1|cpaffiliates|dpbolvw|falkag|global\.msads|gms1|lduhtrp|materiel|
netshelter|onesweb|pro\-market|qksrv|st\.sageanalyst|sublimemedia|tacoda|ultimateinsult|yceml)\.net/

I think part of the trouble is whatever you try to do is being overwritten by the updater? Is there a chance you could export your filterset, use those two above, visit the sites and see if you have same trouble? That might an indication of whether it's an updater problem, a false pos in FiltersetG (only reason to have whitelisting) or AB+ itself. What version are you using?

"promo" is kinda like using "_ads" or "/ad/" - it is prone to causing false positives where you would least expect them. I remember "_ad" messed up -- of all things -- the "download" button for AVAST! antivirus! You just never know where a "false" will rear its ugly head and you want to try and avoid any if possible - therefore relieving the need for whitelisting to "protect you" and in your case, the compounded problem of trying to whitelist certain stuff while filtering other unwanted elements.
User avatar
Peng
Posts: 518
Joined: Fri Jun 09, 2006 8:14 pm
Location: Central Florida
Contact:

Post by Peng »

With Adblock Plus 0.7, you can disable any offending filter in a subscription...
Post Reply