搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 有這個問題
  • 2 次檢視
  • 最近回覆由 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.

從原來的回覆中察看解決方案 👍 0

所有回覆 (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).

由 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.