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 to select what tabs to restore on start?

  • 7 replies
  • 1 has this problem
  • 1 view
  • Last reply by Snippet

more options

So firefox is crashing because of many tabs opened. How can I run a command line parameter to select the tabs to restore like it used to be handled? I dont want to lose all the tabs hopefully closing some will fix the issue.

So firefox is crashing because of many tabs opened. How can I run a command line parameter to select the tabs to restore like it used to be handled? I dont want to lose all the tabs hopefully closing some will fix the issue.

Chosen solution

Okey adding that setting in prefs.js worked :) In case is of use for someone else this was the line added to it user_pref("browser.sessionstore.max_resumed_crashes", 0);

Read this answer in context 👍 0

All Replies (7)

more options

In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk. With this change, Firefox won't even try one automatic crash recovery but will immediately show the page letting you select windows and tabs.

more options

Hi Snippet,

Step 1 : Open Firefox Step 2 : Click the menu button(three horizontal lines on the upper right side of the address bar). Step3 : Click the Restore previous session button.

or

Step 1 : Open the menu ( three horizontal lines). Step 2 : Choose Settings Step 3 : Go to "Privacy & Security" Step 4 : Select the Firefox will Remember history option. Step 5 : Restart Firefox.

Hope this will be helpful. Sathish

more options

Vikas Singh said

In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk. With this change, Firefox won't even try one automatic crash recovery but will immediately show the page letting you select windows and tabs.

But there's no change there shouldn't I change some setting in about:config??? If I follow your instructions nothing happens.

more options

You can set browser.sessionstore.max_resumed_crashes = 0 on the about:config page. This will cause the about:sessionrestore page to appear always and allow to select what tabs not to reopen.

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

more options

cor-el said

You can set browser.sessionstore.max_resumed_crashes = 0 on the about:config page. This will cause the about:sessionrestore page to appear always and allow to select what tabs not to reopen. You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

Thank you!! well I set it but it doesn't stick, meaning when I restart the browser is like I never changed that setting, maybe there's another way, not sure if for example I can set it inside prefs.js?

Modified by Snippet

more options

You should keep this pref setting. If it doesn't stay then check for issues with the preferences.


You can check for problems with preferences. You can delete possible user.js and numbered prefs-##.js files and rename/remove the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in current Firefox releases.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

more options

Chosen Solution

Okey adding that setting in prefs.js worked :) In case is of use for someone else this was the line added to it user_pref("browser.sessionstore.max_resumed_crashes", 0);

Modified by Snippet