Closed Bug 430816 Opened 16 years ago Closed 16 years ago

ads for eBay and State farm not blocked on listed website

Categories

(Camino Graveyard :: Annoyance Blocking, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: webedod59935, Assigned: alqahira)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.14) Gecko/20080409 Camino/1.6 (like Firefox/2.0.0.14)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.14) Gecko/20080409 Camino/1.6 (like Firefox/2.0.0.14)

ads for eBay and State Farm not blocked on listed website. 

Reproducible: Sometimes

Steps to Reproduce:
1.leave website, then return later after visiting another site.
2.
3.
Actual Results:  
sometimes ebay not there on return visit, sometimes it is. State Farm there each time but more subtle ad than eBay.
The eBay ads should be blockable based on the image servers; I'll have to do some more looking about the State Farm ad.
Assignee: nobody → alqahira
Status: UNCONFIRMED → NEW
Depends on: 421850
Ever confirmed: true
philippe, can you think of any sane way to block the State Farm ads (or the "meet the locals"/"reviews" ads)?
div[style*='statefarm_bg.gif'][style*='width: 300px'] catches the State Farm one. Not pretty but no too insane. Maybe safe to wrap that in a @-moz-document block.
(I added the width 300px to make sure it is limited to the add).

As for the other one(s): meet the locals and the TripAdvisor on its right. Can't they just warp that in div with class = advertisement ? :-(
Not many hooks in there unfortunately.

An insane way
.vaT .bm15+.bm15+.bm15+.bm15+table.full td.taC
which works today, but may just as well fail tomorrow. I'd use that kind of things in my own userstylesheet but can't recommend it otherwise.
(In reply to comment #3)
> div[style*='statefarm_bg.gif'][style*='width: 300px'] catches the State Farm
> one. Not pretty but no too insane. Maybe safe to wrap that in a @-moz-document
> block.
> (I added the width 300px to make sure it is limited to the add).

I'm still on the fence about this one.  I guess it will block the ad across all pages on the site, but it's also not something that has a reasonable chance of being generic and applicable to other websites.
(In reply to comment #4)
... 
> I'm still on the fence about this one.  I guess it will block the ad across all
> pages on the site, but it's also not something that has a reasonable chance of
> being generic and applicable to other websites.
>
That is why I suggested wrapping it in a @-moz-document block.
Going through a bunch of pages on the linked site didn't cause any issue, and checking the statefarm site worked correctly, afaict.
It could be even safer by using the whole path to the gif file
div[style*='icons-pe.wxug.com/graphics/statefarm_bg.gif'][style*='width: 300px']

FIXED on trunk by checkin of bug 421850.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.