Closed Bug 144481 Opened 23 years ago Closed 23 years ago

window.open popups still occur when written into IMG tag

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 126224

People

(Reporter: fleet-bugzilla, Assigned: rogerl)

References

()

Details

When the "Open Unrequested Windows" pref is set to disabled, web sites can still pop up ad windows using the window.open javascript function if they embed it within an image (<IMG>) tag. The New York Times web site will exhibit this behavior occaisionally but not always. Here's the code to reproduce it: <img src="http://somesite.com/pixel.gif" onLoad="window.open('http://somesite.com/ayb2.html','MyWindow','toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=200, top=0');window.focus();" BORDER=0">
To fix this problem read the "What's new" in the 0.9.9 release notes: http://www.mozilla.org/releases/mozilla0.9.9/#new *** This bug has been marked as a duplicate of 126224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.