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

Why is firefox (Win) both at home and office when opened, is starting with previously closed windows even when firefox is properly shut?

  • 1 cavab
  • 1 has this problem
  • 5 views
  • Last reply by cor-el

more options

After properly closing the firefox, only in the last few months, Im seeing this problem of opening with previously closed windows when tried to open the browser again.

As you know, this is a serious error. This will reveal the websites surfed by the previous user.

Or even if the same user is browsing, it will showoff the previously browsed content in front of others, imagine a case, if the user needs privacy of the previously browsed content!

After properly closing the firefox, only in the last few months, Im seeing this problem of opening with previously closed windows when tried to open the browser again. As you know, this is a serious error. This will reveal the websites surfed by the previous user. Or even if the same user is browsing, it will showoff the previously browsed content in front of others, imagine a case, if the user needs privacy of the previously browsed content!

All Replies (1)

more options

You can check if you have an user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

You can use this button to go to the Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

The user.js file is only present if you or other software has created it, so normally it wouldn't be there. you can check its content with a plain text editor if you didn't create this file yourself.

The user.js file is read each time you start Firefox and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.