This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

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

  • 4 replies
  • 0 have this problem
  • 1 view
  • Last reply by 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).

Chosen solution

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.

Read this answer in context 👍 1

All Replies (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

Chosen Solution

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.