可能重複:
How to close window in firefox using javascript?JavaScript來關閉Firefox瀏覽器
我想關閉用戶瀏覽我的網站自動關閉使用JS主Firefox
瀏覽器窗口。
我開始知道設置dom.allow_scripts_to_close_windows = true
在C:\Program Files\Mozilla Firefox\greprefs\all.js
會允許這個。請讓我知道是否可以使用我們的Javascript
覆蓋此值。