Closed Bug 557332 Opened 14 years ago Closed 14 years ago

Ads on w3schools.com

Categories

(Camino Graveyard :: Annoyance Blocking, defect)

All
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: contact, Unassigned)

References

()

Details

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; fr; rv:1.9.0.18) Gecko/2010021619 Camino/2.0.2 (MultiLang) (like Firefox/3.0.18)
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; fr; rv:1.9.0.18) Gecko/2010021619 Camino/2.0.2 (MultiLang) (like Firefox/3.0.18)

Some ads on w3schools.com (under the menu).

Reproducible: Always
Attached file HTML code
Here is the code which displays the ads.
Attached file HTML code
A banner at the bottom of some pages (e.g. http://www.w3schools.com/about/default.asp).
I didn't see the ad in comment 1, in place there was this:
<b>BEST WEB HOSTING</b>
<a target="_blank" rel="nofollow" href="http://stats.justhost.com/track?cb9f3a2d1dcf0bf26abe2da7b079bcbdf"><img style="position:absolute;left:0px;bottom:0px;" src="/images/justhost_155x75.gif" alt="JustHosts" border="0" /></a><br />

</div>
Looking at the asme page with Safari, I got yet another small ad that would be equally difficult to block.



on http://www.w3schools.com/about/default.asp I saw a horizontal banner ad:

<iframe id="leaderframe" style="background-color:#ffffff;height:90px;width:728px"
src="/banners/leaderframe.asp?adpartner=4t&amp;numb=0.1757711"
height="90" width="728" marginwidth="0" marginheight="0" frameborder="0" scrolling="no">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>

That code is potentially blockable
Depends on: 549250
Attached image Screenshot 2
Screenshot of http://www.w3schools.com/about/default.asp
I've blocked ads on this website by adding these rules to my userContent.css :
@-moz-document domain(w3schools.com) {
DIV[CLASS*="toprect_txt"], 
DIV[CLASS*="toprect_img"], 
IFRAME[ID*="leaderframe"],
IFRAME[ID*="w3schools_spot1"],
IMG[ALT*="TemplateWorld"],
SCRIPT[SRC*="pagead"]
{display: none ! important}
}
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
(In reply to comment #3)
> on http://www.w3schools.com/about/default.asp I saw a horizontal banner ad:
> 
> <iframe id="leaderframe"
> style="background-color:#ffffff;height:90px;width:728px"
> src="/banners/leaderframe.asp?adpartner=4t&amp;numb=0.1757711"
> height="90" width="728" marginwidth="0" marginheight="0" frameborder="0"
> scrolling="no">
> Your browser does not support inline frames or is currently configured not to
> display inline frames.
> </iframe>
> 
> That code is potentially blockable

Yeah, we can probably get that one with iframe[src*="?adpartner"].
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
Status: UNCONFIRMED → NEW
Ever confirmed: true
Fixed by the checkin for bug 549250, http://hg.mozilla.org/camino/rev/1ee085041bf3
Status: NEW → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: