Closed Bug 489531 Opened 16 years ago Closed 16 years ago

Javascript should never take complete control of the browser and keep the user from exiting the tab or the browser.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 432687

People

(Reporter: geeknik, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090421 Shiretoko/3.5b4pre Firefox/3.0.8 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090421 Shiretoko/3.5b4pre Firefox/3.0.8 This is a data loss issue more then anything because if you go to the URL provided and try to exit the tab or the window, the script keeps you from leaving. You can't close the tab or the window, you can't right click on the task bar and select close and from what I can tell, the only way to get away from this script is to end process in the task manager. You could rely on session restore to get you back to where you were at before you forced close the browser, but that's not a guarantee. Reproducible: Always Steps to Reproduce: 1. Open Firefox 2. Visit URL provided Actual Results: Can't exit browser unless you force close it using the task manager. Expected Results: A javascript should never take control of the browser. A work around would be to use something like NoScript but I don't see why I should have to install an extension and then be bothered with configuring it for every site I visit when Javascript shouldn't be taking over the browser like this in the first place. I guess I will set this as Minor since there is an easy workaround, but I think something should be setup so you don't have to use the workaround.
Another workaround: Ctrl W and Enter a few times in quick succession exits the tab.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.