Closed Bug 459123 Opened 16 years ago Closed 16 years ago

Page not displaying

Categories

(Camino Graveyard :: Annoyance Blocking, defect)

All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jeff, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en; rv:1.8.1.17) Gecko/20080915 Camino/1.6.4 (like Firefox/2.0.0.17)
Build Identifier: camino 1.6.4 (v1.8.1.17 2008091513)

safari (1.3.2 (v312.6) displays this URL correctly

http://www.theaa.com/travelwatch/inc/planner_main_redirect.jsp
\
Camino just presents a blank page

Reproducible: Always

Steps to Reproduce:
Seems to happen every time, regardless of resets, reloads, etc
This is related to ad-blocking, though I'm not yet sure how.
Component: General → Annoyance Blocking
QA Contact: general → annoyance.blocking
Ah, this bit of JavaScript is wrapping the entire page in a <div> that claims its for advertising:

  <script language="JavaScript" type="text/javascript"><!--
if (screen.width >= 1000) {
document.write ("<div class='advertOuter'><div class='advertPageWrapper'>");
}
//--></script>

which gets picked up by

div[class^="advert"]

which we added in bug 437919 to block some of the ads on herald-dispatch.com.

I think div[class^="advert"] is a legitimate rule to use in blocking and it's just unfortunate that this page is claiming the entire page is an advertisement.
Yeah, I wouldn't argue against a WONTFIX here. I doubt it's worth the trouble of whitelisting this site.
Hardware: Macintosh → All
So, I'm not sure where or what div[class^="advert"] is blocking something at the moment. On the herald-dispatch.com, as mentioned in comment 2, I get a truckload of ads anyway (wrapped in div class="ad").
On the other hand, div[class^="advert"] is a fairly legit rule, in quite a few languages. A WONTFIX would be OK with me.


For Jeff Hosier, to white-list that particular site, adding the following to your userContent.css will work:
@-moz-document domain(theaa.com) {
	div[class^="advert"] {display:block !important;}
}
Sounds like a WF, then. Jeff, you should try complaining to the site; that's a pretty brain-dead thing to call something that isn't an advertisement.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.