搜尋 Mozilla 技術支援網站

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

了解更多

cant get out of website

more options

Website wont close, "are you sure you want to leave this page" comes up. I click yes and it doesnt respond.

Website wont close, "are you sure you want to leave this page" comes up. I click yes and it doesnt respond.

被選擇的解決方法

This is a new scam, the site is designed to ask that question incessantly until you give up.

Most users end up killing the browser in the Windows Task Manager. At that point, if you restart normally, Firefox will try to load your previous tabs and windows, bringing back the problem. It's frustrating.


I've heard of two workarounds to break the cycle:

  1. Disable JavaScript or
  2. Change the post-crash behavior to present a list of tabs instead of loading them all automatically

Disable JavaScript

(1) In the new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste java and pause while the list is filtered

(3) Double-click the javascript.enabled preference to switch it from true to false.

This may or may not affect the already open tab, but when you kill Firefox and restart it, the scripts that prevent you from closing that tab should not be able to run. After closing it, you can go back into about:config and turn JavaScript back on.

Change Post-Crash Startup setting

(A) In the new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and enter 0 (that's a zero) and click OK.


Also, please see this thread for more information and a longer-term workaround:

從原來的回覆中察看解決方案 👍 0

所有回覆 (1)

more options

選擇的解決方法

This is a new scam, the site is designed to ask that question incessantly until you give up.

Most users end up killing the browser in the Windows Task Manager. At that point, if you restart normally, Firefox will try to load your previous tabs and windows, bringing back the problem. It's frustrating.


I've heard of two workarounds to break the cycle:

  1. Disable JavaScript or
  2. Change the post-crash behavior to present a list of tabs instead of loading them all automatically

Disable JavaScript

(1) In the new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste java and pause while the list is filtered

(3) Double-click the javascript.enabled preference to switch it from true to false.

This may or may not affect the already open tab, but when you kill Firefox and restart it, the scripts that prevent you from closing that tab should not be able to run. After closing it, you can go back into about:config and turn JavaScript back on.

Change Post-Crash Startup setting

(A) In the new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and enter 0 (that's a zero) and click OK.


Also, please see this thread for more information and a longer-term workaround: