Closed Bug 128974 Opened 22 years ago Closed 22 years ago

auto-popup via image.onload bypasses unrequested popup pref

Categories

(SeaMonkey :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 126224

People

(Reporter: chris, Assigned: asa)

References

()

Details

I visited the above URL and got a popup window when visiting the page even
though I have the "Open Unrequested Windows" pref unchecked. A quick scan of the
page code revealed that the opening of the window was triggered via an image
onload event instead of the customary body.onload. Here's the relevent code from
the doc:

SCRIPT:
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

HTML CONTENT:
<img src="dxp_comp_02.gif" width="795" height="737" usemap="#Map" border="0"
onLoad="MM_openBrWindow('pop.html','ATTENTION','width=275,height=160')">

This behavior was seen with the following browser:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.8+) Gecko/20020223

*** This bug has been marked as a duplicate of 126224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.