Closed
Bug 342762
Opened 19 years ago
Closed 18 years ago
[ad-blocking] The new and improved Digg.com shows ads
Categories
(Camino Graveyard :: Annoyance Blocking, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gavintlgold, Assigned: alqahira)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 3 obsolete files)
7.39 KB,
text/css
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a3) Gecko/20060626 Camino/1.0+
Build Identifier: Camino/1.0+
When you browse through digg.com all of the ads are shown (they're Google text ads). This is very annoying.
Reproducible: Always
Steps to Reproduce:
1. Go to Digg.com
Actual Results:
You see Google ads above and to the side of the digg page
Expected Results:
Blocked these ads.
I devised a patch that completely gets rid of them. I believe that since Digg.com is popular, three more lines on the ad_blocking.css file can be integrated into a nightly build. Here are the three lines of CSS:
div[id="top_ad"],
div[id="item_ad"],
div[id="comments_ad"]
I tested it out on my copy of camino, and it seemed to display the page perfectly well.
This is the adblocking file which I updated to not display Digg.com ads. It worked on my version of Camino. I did not change any other part of Camino to fix the ad problem. In this file, I added three lines:
div[id="top_ad"],
div[id="item_ad"],
div[id="comments_ad"]
Ok, the update doesn't work perfectly. Sometimes there's a white space right under the digg title bar, and there is a white space to the right of the comments. Also, there's a "deflated" box right next to the comments which used to house the ads and now is empty.
Assignee | ||
Comment 3•19 years ago
|
||
This looks like a good opportunity to use $
div[id$="_ad"],
div.top_ad_image
(the latter to get the flash banner)
Assignee: nobody → alqahira
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: The new and improved Digg.com shows ads → [ad-blocking] The new and improved Digg.com shows ads
I don't know ANYTHING about the ad_blocking.css file, and just experimented and guessed with what would work. You would know better than me! I'll try out your suggestion though. Thanks for looking into it.
Followed your suggestion and it seems perfect. The page that kept showing the flash ad for me, http://digg.com/apple/Apple_execs_to_preview_Leopard_at_WWDC , is fixed now.
Attachment #227106 -
Attachment is obsolete: true
This is the only part of digg that annoys me now. Is there any way to remove the 'deflated' box? It makes the width of the comments shorter and wastes space, as well as looking ugly. Is there any way to fix this?
Assignee | ||
Comment 7•19 years ago
|
||
div[class*="_ad_"]
is probably safe. It will get rid of the grey outline (and maybe ads elsewhere), but it won't expand the comment width, because the div containing all the comments has a fixed width....
Ok, your suggestion works. All that I added this time to ad_blocking.css is:
div[class*="_ad_"]
VERY concise!
Attachment #227248 -
Attachment is obsolete: true
I don't know anything about how Bugzilla works, but it's been a while, and nothing has happened. Can someone who knows more about Bugzilla let me know if there's anything I can do to speed up the process of adding the new ad_blocking.css file to Camino? Thanks.
Attachment #227251 -
Attachment is obsolete: true
Comment 10•19 years ago
|
||
Set review flags on your attachment: http://wiki.caminobrowser.org/Development:Reviewing
Updated•18 years ago
|
Component: General → Annoyance Blocking
QA Contact: general → annoyance.blocking
Assignee | ||
Comment 11•18 years ago
|
||
Fixed by patch in bug 342956.
You need to log in
before you can comment on or make changes to this bug.
Description
•