搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (1)

more options

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