Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

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

After closing a browser window and if I open a new browser window , the browser will not open per my home page in tools/options/startup, it loads the last page

  • 5 ردود
  • 4 have this problem
  • 2 views
  • آخر ردّ كتبه cor-el

more options

recently when opening a new browser, everything Is using and closed during my last session will open

multiple widows will open and whatever tabs were open per respective windows will open and not per tools/options/startup/homepage

this has never happened until just recently and nothing else seems to have changed nor has any new programs etc been loaded or changed

recently when opening a new browser, everything Is using and closed during my last session will open multiple widows will open and whatever tabs were open per respective windows will open and not per tools/options/startup/homepage this has never happened until just recently and nothing else seems to have changed nor has any new programs etc been loaded or changed

الحل المُختار

You can delete the user.js as it shouldn't be there unless you created this file yourself.

If you set the pref to false in that file then you will lose open tabs if you need to restart Firefox after having installed a new extension as that is the primary reason for using this pref. So delete the user.js file or at least that line if you still want to reinitialize possible other prefs present in the file on each Firefox start.

This file is read on every Firefox start, so changes made to prefs set via this file only last for the current session.

Read this answer in context 👍 0

All Replies (5)

more options

You can check if you have a 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 currently used Firefox profile folder:

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

Note that Windows hides some file extensions by default. Among them are .html and .ini and .js and .txt, so you may only see file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.


You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

Modified by cor-el

more options

it is set to false, if I change it to true in about :config there is no difference and tabs open up and next time I open about:config it is set to false but tabs still open

so no matter the setting the problem still happens

more options

Did you go to the Firefox profile folder to see if there is a user.js file?

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

yes I did, did it again and this time I right clicked file and went to edit and manually changed

user_pref("browser.sessionstore.resume_session_once", true); to

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

and it seems to have worked

thanks heaps for your help

be well

more options

الحل المُختار

You can delete the user.js as it shouldn't be there unless you created this file yourself.

If you set the pref to false in that file then you will lose open tabs if you need to restart Firefox after having installed a new extension as that is the primary reason for using this pref. So delete the user.js file or at least that line if you still want to reinitialize possible other prefs present in the file on each Firefox start.

This file is read on every Firefox start, so changes made to prefs set via this file only last for the current session.