Closed Bug 221384 Opened 21 years ago Closed 15 years ago

nursingexperts.com - Moxilla is allergic to Amoxicillin

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhansonxi, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030925

Symptoms:
1.  Titlebar and icon become very pale (whiteout).
2.  Becomes very slow and unresponsive.
3.  Developes a huge appetite for RAM.

I think a medial alert bracelet is needed.

Maybe JAI218512M (Just Another Issue #218512 Manifestation)?

Reproducible: Always

Steps to Reproduce:
1.  Go to the above URL
2.  Note the symptoms.
3.  Ctrl-Alt-Del to kill the patient.


Actual Results:  
Went into a coma.

Expected Results:  
Show the page or at least warn the user about drug information sensitivities. 
Or even just refuse to load stupid metasearch pages.
This site loads a wonderful ad script from http://www.clicks4u.com/watermark.js

This most excellent script has the following code (condensed, with irrelevant
parts removed):

function watermark () {
  var wm;
  if (navigator.appName == "Netscape") {
    if (navigator.appVersion.indexOf("6") == -1) {
      wm = document.jsbrand;
    }
  }
  if (navigator.appVersion.indexOf("MSIE") != -1) {
    wm = document.all.jsbrand;
  }
  if (wm)
  { /* do something }
  else 
  {
    setInterval("watermark()",100);
  }
}
setInterval("watermark()",100);

Now this script executes and calls the outer setInterval.  This makes the
function watermark() run every 100ms from that point on.  When this function
runs, it checks what sort of browser this is.  If it's not IE or Netscape 6, it
setIntervals itself again.  Thys now every 100ms two copies of the function run.

You get exponential growth, with the number of intervals set doubling every
100ms.  Unsurprisingly, this chews up lots of CPU and memory.

I see the same behavior in Netscape 4, Opera, Konqueror, and Netscape 7 (since
the site only checks for 6!).

Over to evangelism... this is just designed-in infinite exponential growth.
Assignee: other → english-us
Status: UNCONFIRMED → NEW
Component: Layout → English US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: ian → english-us
Version: Trunk → unspecified
>  { /* do something }

That's

   { /* do something */ }

of course.
Did they fix this page already? I see no problem using 1.5rc2 for OS/2
Summary: Moxilla is allergic to Amoxicillin → nursingexperts.com - Moxilla is allergic to Amoxicillin
Thanks bz. You are the epitome of "be excellent to each other" :-)

contacted clicks4u. geez.
Status: NEW → ASSIGNED
Target Milestone: --- → Nov
Rechecked with:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608

Original URL is gone.  http://www.clicks4u.com/watermark.js is still available.  
The following site uses this script:
http://members.fortunecity.com/lrhoades/

No problems manifested when I opened this site.
Jeff - This appears to be RESOLVED when I visit the URL in your bug description.  The URL source does not seem to reference the "watermark.js" script anymore.  Close bug?

Tested with:
* Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
* Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
The technical problems with clicks4u.com seems to have been resolved by the US economy crashing.  After six years I guess that's good enough.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
In TE, we usually resolve these FIXED (BYDEATHOFSITE).

Comment 7 may be the best bug resolution comment in all of Bugzilla.
Resolution: WONTFIX → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.