Closed Bug 289772 Opened 20 years ago Closed 20 years ago

Popup blocker does not block popup

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 270867

People

(Reporter: andrew.thorpe, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2

When clicking "Download" a popup window is launched that Firefox's blocker
doesn't catch.


Reproducible: Always

Steps to Reproduce:
1. Open URL
2. Click "download torrent"

Actual Results:  
Popup window is displayed

Expected Results:  
The popup window should have been blocked.

I think this is done by use of the JavaScript write() command:
<script>
document.write("window.open()");
</script>
Although sometimes the text written is urlencoded (ie %20 instead of spaces).
Perhaps the problem is that Firefox does not check exactly what it is writing to
the page - maybe it should decode (if neccessary) then check the string to be
written for window.open() commands.
An uprated popup blocker is curently being tested (see
http://www.mozillazine.org/talkback.html?article=6321) which seems to block the
popup.  I'm sure that there will be a bug somewhere about to dupe to - will look
for it.
(In reply to comment #1)
> An uprated popup blocker is curently being tested (see
> http://www.mozillazine.org/talkback.html?article=6321) which seems to block the
> popup.  I'm sure that there will be a bug somewhere about to dupe to - will look
> for it.

that one is for bug 176079 - popups opened from Flash

This is different. It's probbaly a dupe of bug 270867, bug 282931, bug 227338 ... 

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