Closed
Bug 398120
Opened 17 years ago
Closed 17 years ago
Omnibus ad-blocking bug for October 2007
Categories
(Camino Graveyard :: Annoyance Blocking, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: alqahira)
Details
(Keywords: fixed1.8.1.10, Whiteboard: [camino-1.5.5])
Attachments
(1 file)
2.66 KB,
patch
|
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
Step right up, get your ad-blocking here....
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → alqahira
Comment 1•17 years ago
|
||
Scientific American has a few ads on their site like this: http://www.sciam.com/media/promo/0707_subscription-302x174.gif Not sure if "promo" is too general or not. There's also an ad for their "piemonte" section, which appears to be a euphemism for "ads": http://www.sciam.com/piemonte/ Again, not sure if "piemonte" would be too general (or too specific).
Comment 2•17 years ago
|
||
Ads all over the place here: http://www.wweek.com/editorial/3348/9693/ Mostly from banners.wweek.com , which may be too obscure for us to worry about, but worth mentioning.
Comment 3•17 years ago
|
||
From a forum complaint about drudgereport, it looks like we can block images from mercuras.com.
Assignee | ||
Comment 4•17 years ago
|
||
And/or a:link[href*="adgardener.com"] img
Assignee | ||
Comment 5•17 years ago
|
||
On http://www.osweekly.com/index.php?option=com_content&task=view&id=2677&Itemid=449 Images from http://images.industrybrains.com/banner/ (seems like an ad-server)
Assignee | ||
Comment 6•17 years ago
|
||
(In reply to comment #1) > There's also an ad for their "piemonte" section, which appears to be a > euphemism for "ads": No, that's their euphemism for "let's all go visit Marcello" ;)
Comment 7•17 years ago
|
||
the Beep for non-UK users. news.bbc.co.uk @-moz-document domain(news.bbc.co.uk) { div[id*='ad'][class*='ad'] {display:none !important;} } Atm, I only get one ad in the left-hand sidebar on the front page. The ad itself is blocked (fffflash from doubleclick), but leaves a ~300px tall gap in the column (ad is wrapped in a div with width + height set). The code eliminates that gap, and at least two others instances that are in the source code but not yet visible (one wide one at the top and a tall one on the right). BTW, this give strange effects on trunk. When the front-page loads, those empty places are visible, but collapse when loaded. I see the same with the latest WebKit builds.
Assignee | ||
Comment 8•17 years ago
|
||
> @-moz-document domain(news.bbc.co.uk) { > div[id*='ad'][class*='ad'] {display:none !important;} > } I think I'd like to do div[id^="ad"][class^="ad"] and not wrap that in a bbc block. (In reply to comment #1) > Not sure if "promo" is too general or not. I think it's too vague; at least in my mind, "promo" does not always equal "advertising" (In reply to comment #2) > Mostly from banners.wweek.com, which may be too obscure for us to worry That's too specific/obscure, and "banners" is way too vague.
Comment 9•17 years ago
|
||
(In reply to comment #8) > I think I'd like to do div[id^="ad"][class^="ad"] and not wrap that in a bbc > block. Why not just ="ad"? Lots of words start with "ad".
Comment 10•17 years ago
|
||
(In reply to comment #9) > (In reply to comment #8) > > I think I'd like to do div[id^="ad"][class^="ad"] and not wrap that in a bbc > > block. > > Why not just ="ad"? Lots of words start with "ad". > Because the ID's and classes are actually: <div id="ad4" class="ad4"></div> <div id="ad3" class="ad3closed"></div> etc
Assignee | ||
Comment 11•17 years ago
|
||
Stuart and I discussed this in the channel, and we decided div[id^="ad1"], div[id^="ad2"], etc. is probably a more effective way of dealing with this, and gets us <div id="ad169_full_of_ads"> for free while sparing us false positives from <div id="address1" class="address"> and so forth.
Comment 12•17 years ago
|
||
(In reply to comment #11) > Stuart and I discussed this in the channel, and we decided > > div[id^="ad1"], > div[id^="ad2"], > etc. That will probably work fine, at least: no false positives in one hour of random surfing. For the BBC -at time of writing - you'll need ad1, ad2, ad3, ad4 ----------- The new Gmail interface The ads in the right-hand column are now wrapped in div.slwyWc (exact match) (at least on my side, with both the latest BonEcho and Camino Trunk, Gmail set to use text/plain).
Assignee | ||
Comment 13•17 years ago
|
||
This adds everything mentioned except the aforementioned vague/multiple meanings items in comment 8.
Attachment #287645 -
Flags: superreview?(sfraser_bugs)
Updated•17 years ago
|
Attachment #287645 -
Flags: superreview?(sfraser_bugs) → superreview+
Assignee | ||
Comment 14•17 years ago
|
||
Landed on the trunk and MOZILLA_1_8_BRANCH. Nominating for 1.5.4 (depending on when we do it)
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: camino1.5.4?
Keywords: fixed1.8.1.10
Resolution: --- → FIXED
Assignee | ||
Comment 15•17 years ago
|
||
1.5.4 is coming too soon for this; let's do 1.5.5.
Flags: camino1.5.5?
Flags: camino1.5.4?
Flags: camino1.5.4-
Assignee | ||
Comment 16•17 years ago
|
||
We've heard nothing bad about these changes, so...checked in on the CAMINO_1_5_BRANCH for 1.5.5.
Flags: camino1.5.5? → camino1.5.5+
Whiteboard: [camino-1.5.5]
You need to log in
before you can comment on or make changes to this bug.
Description
•