Closed Bug 255062 Opened 21 years ago Closed 18 years ago

mercurynews.com - meaningless JS alert message served to Gecko browsers

Categories

(Tech Evangelism Graveyard :: English US, defect, P2)

x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ejbiow, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2 When I go to a newspaper ad site every time I navigate to a new page or zoom in on a GIF image I get a 'Picking up style sheet' JavaScript Application dialogue box (nag screen?) that requires me to hit the 'OK' button to proceed. If I disable Javascript I don't get the message, but also can't view the GIFs that comprise the sub-parts of the ad. The message is pretty useless to me and very annoying; I now use IE to visit the site. I've had the same symptoms with every recent version of Mozilla and Firewhatever that I've used. Mozilla has had this problem with certain pages at least since September 2003 when a fellow reported the problem on the Usenet: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=c4f7a7b3.0309020908.2ece1253%40posting.google.com&rnum=5&prev=/groups%3Fas_q%3Dpicking%2520up%2520style%2520sheet%2520javascript%26amp%3Bnum%3D30%26amp%3Bhl%3Den IE 6.0 used to have the same problems, but I don't get the symptom going to my page. http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=yeM4b.2769%24Bv6.831572%40news1.epix.net&rnum=1&prev=/groups%3Fas_q%3Dpicking%2520up%2520style%2520sheet%2520Javascript%26amp%3Bnum%3D30%26amp%3Bhl%3Den Reproducible: Always Steps to Reproduce: 1. Go to or reload web page http://newspaperads.mercurynews.com/RopCategory.aspx 2. Get annoying bloody dialogue box 3. Get frustrated, use Firefox context menu extension to view page in IE. Actual Results: Dialogue box Expected Results: Go to page without making me click OK at every navigation.
The site's own script is saying to do that. if (is.ns6 && is.mac==false) { var css = "<LINK rel='stylesheet' type='text/css' href='http://www.mercurynews.com/css/palette/mercurynews/en/browser/ns6.css'>\n"; document.write(css); alert('picking up style sheet ') } Write the site and ask them to fix the code. ->TE
Priority: -- → P2
Summary: Navigating in page kicks up 'picking up style sheet' [Javascript Application] dialogue box → mercurynews.com - meaningless JS alert message served to Gecko browsers
Assignee: general → english-us
Status: UNCONFIRMED → NEW
Component: Browser-General → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: general → english-us
Version: Trunk → unspecified
*** Bug 260232 has been marked as a duplicate of this bug. ***
Looks FIXED to me sometime in the last three years.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.