搜尋 Mozilla 技術支援網站

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

了解更多

How can stop Firefox from re-opening windows after a crash?

  • 4 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 zeroknight

more options

Hi, I have the problem that Firefox restarts after a crash, re-opening exactly the same windows that were open at the time of the crash, which most of the time reproduces the crash.

I want Firefox to restart with an empty window, like it is configured.

I have read a support entry that hints setting browser.sessionstore.resume_from_crash to false, which does NOT to the job (anymore).

Hi, I have the problem that Firefox restarts after a crash, re-opening exactly the same windows that were open at the time of the crash, which most of the time reproduces the crash. I want Firefox to restart with an empty window, like it is configured. I have read a support entry that hints setting browser.sessionstore.resume_from_crash to false, which does NOT to the job (anymore).

被選擇的解決方法

Check that browser.startup.page is 1, browser.sessionstore.resume_from_crash is false and browser.sessionstore.max_resumed_crashes is 0 in about:config.

Does it still happen in a new profile (without signing into sync account)? Alternatively you can refresh your existing profile.

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

所有回覆 (4)

more options

Add the following line to a file named user.js in your profile folder :

user_pref("browser.sessionstore.resume_session_once", false);
more options

zeroknight said

Add the following line to a file named user.js in your profile folder : user_pref("browser.sessionstore.resume_session_once", false);

There was no such file, but I added one. But it didn't change anything.

more options

You can set this pref to 0 (zero) on the about:config page to always show the Session Restore (about:sessionrestore) page in case of a crash or when you force a shutdown.

  • browser.sessionstore.max_resumed_crashes = 0 (-1:never ask; 0:always ask)
user_pref("browser.sessionstore.max_resumed_crashes", 0);
more options

選擇的解決方法

Check that browser.startup.page is 1, browser.sessionstore.resume_from_crash is false and browser.sessionstore.max_resumed_crashes is 0 in about:config.

Does it still happen in a new profile (without signing into sync account)? Alternatively you can refresh your existing profile.