Closed Bug 132723 Opened 24 years ago Closed 20 years ago

can't close a window that is |<body onfocus="self.blur()">|

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: jrgmorrison, Unassigned)

References

Details

Attachments

(2 files)

I was looking at bug 132581, and noticed that it had placed a little window, bottom right, when I unloaded one of those pages. That little window then proceeded to spam me with a new popup window every 3 minutes. Clicking on the X control would not kill this 'agent' window, nor would Alt-F4. I could kill the window on the win32 taskbar with a right-click and 'Close', or if another application had focus, I could hit X to kill the 'agent' window. The trick is to do |<body onfocus='self.blur()'>| (and, get this, the geniuses who promote this spam machine think they are worthy of receiving a fricking patent). --- spyLaunch.html --- <html> <head> <script> function MakeRemoteWindow() { H = window.open("spy4.html", "ef", "height=1,width=1,left=10000,top=10000," + "location=0,menubar=0,statusbar=0," + "locationbar=0,scrollbars=0,resizable=0"); } </script> <body onUnload="MakeRemoteWindow();"> <p>Click on throbber. Evil undismissable window onunload.</p> </body> </html> --- spy.html --- <html> <body onfocus="self.blur();"> <p> You can't dismiss this window. It is now free to spam you with ads for as long as it wants. </p> </body> </html>
*** Bug 105956 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
Update target milestone to 'Future' since this missed the 'mozilla1.1beta' train.
Target Milestone: mozilla1.1beta → Future
Assignee: danm.moz → nobody
Status: ASSIGNED → NEW
Can't reproduce this any more. If anyone can, please reopen.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: