Closed Bug 738894 Opened 12 years ago Closed 12 years ago

Omnibus ad-blocking bug for April 2012

Categories

(Camino Graveyard :: Annoyance Blocking, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: alqahira)

Details

(Whiteboard: [camino-2.1.3])

Attachments

(1 file)

On http://www.technewsworld.com/edpick/74694.html?wlc=1332793678

img src="servedby.flashtalking.com"

(That domain also spews a full-content-covering JS-based Flash ad; blocking scripts from flashtalking.com should prevent it.)
On metafilter.com
(e.g http://www.metafilter.com/114168/The-Iced-Coffee-Economy)

<div class="google-ad">
    <div class="google-label">
    ...
   </div>
   <div class="google-text">

--> div[class="google-ad"]
On http://www.survivetheapocalypse.net/2012/04/05/how-to-make-a-zombie/ , there are ads all down the right side of the page.

div[class*=" ad-codes"]

should do it.
On http://online.wsj.com/article/SB10001424052702303815404577335783535660546.html

at the very bottom of the article, between the comments section and the footer, there's an "Offers" section.

div[id^="wsjSelect"] oughta take care of it.
http://mainichi.jp/english/english/
sidebar & bottom of articles (some on individual articles only)

div[class="SquareAd"],
div[class="AdRecommend"],
div[class="AdBrand"],
div[class="AdMrq"],
div[class="ArticleAd"][class="clr"] 

/* couldn't they tag them all with one class… ? :p */
On http://www.metro.co.uk/weird/897822-chinese-man-disgusts-crowds-by-pulling-1-6-ton-car-with-eye-sockets

it looks like all the stuff at the bottom is ads.

div[id="metro_extras"]

should do it.
(In reply to Chris Lawson from comment #1)
> (That domain also spews a full-content-covering JS-based Flash ad; blocking
> scripts from flashtalking.com should prevent it.)

Yeah, they're also running Flash ads on imdb.com right now, e.g. http://cdn.flashtalking.com/xre/26/261909/317887/swf/GnR_Recipe_Spinner_Weekend_BASE_FIL_728x90.swf
(In reply to Chris Lawson from comment #1)
> On http://www.technewsworld.com/edpick/74694.html?wlc=1332793678
> 
> img src="servedby.flashtalking.com"

(In reply to Chris Lawson from comment #2)
> On http://blog.intercom.io/whats-in-a-name/
> 
> div id="SignupAd"

I couldn't find the matching ads on those two pages.

(In reply to philippe from comment #8)
> div[class="ArticleAd"][class="clr"] 

This one doesn't seem to work for me unless I use ~= (or I suppose *=)

I used the ~= syntax for comment 5 as well.

(In reply to Chris Lawson from comment #9)
> On
> http://www.metro.co.uk/weird/897822-chinese-man-disgusts-crowds-by-pulling-1-
> 6-ton-car-with-eye-sockets
> 
> it looks like all the stuff at the bottom is ads.
> 
> div[id="metro_extras"]
> 
> should do it.

I don't like that rule at all (and I can't find any other reasonable ones), because 1) it's not ad-like at all, and 2) it seems likely to block real content in metro sections the world over.
Per comment 11.
Assignee: nobody → alqahira
Status: NEW → ASSIGNED
Attachment #621256 - Flags: superreview?(stuart.morgan+bugzilla)
Comment on attachment 621256 [details] [diff] [review]
April 2012 Omnibus Ad-Blocking

Review of attachment 621256 [details] [diff] [review]:
-----------------------------------------------------------------

sr=smorgan
Attachment #621256 - Flags: superreview?(stuart.morgan+bugzilla) → superreview+
http://hg.mozilla.org/camino/rev/b90f93cdb2ae
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [camino-2.1.3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: