Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does Firefox not respond to a javascript "close browser" command?

more options

IE and Chrome both recognized this javascript. Can you tell me what other command we should be using or if there is a security setting blocking this? I can't find any security setting that I can use.

IE and Chrome both recognized this javascript. Can you tell me what other command we should be using or if there is a security setting blocking this? I can't find any security setting that I can use.

All Replies (1)

more options

Javascript can only close a window that it opened, it can't close the browser.