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

Is there a command-line option that will override the "show my windows and tabs from last time"?

  • 1 reply
  • 4 have this problem
  • 11 views
  • Last reply by cor-el

more options

A friend of mine occasionally runs into a web page that causes him problems. To be sure, he should note the URL and submit a bug report if a page causes a browser crash, but in any case, while by default he likes the browser to restore windows and tabs from the previous session, in the case of an obnoxious web page, you *don't* want that to happen. I'm hoping that I can set up an icon for him to click on that will start the browser up on his home page instead of restoring previous windows and tabs when he gets into trouble.

A friend of mine occasionally runs into a web page that causes him problems. To be sure, he should note the URL and submit a bug report if a page causes a browser crash, but in any case, while by default he likes the browser to restore windows and tabs from the previous session, in the case of an obnoxious web page, you *don't* want that to happen. I'm hoping that I can set up an icon for him to click on that will start the browser up on his home page instead of restoring previous windows and tabs when he gets into trouble.

Chosen solution

Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See:

Read this answer in context 👍 1

All Replies (1)

more options

Chosen Solution

Set the Integer pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See: