搜尋 Mozilla 技術支援網站

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

Learn More

How do you disable a restore session each time you enter a new session?

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

I enter a new session and it restores my last session after close. I tried all the stupid about:config stuff suggested in other questions and it didnt work. I have a homepage set. I have the correct session restore attributes set to false. I dont know what else to do. This is an annoying "feature"!!! Why do they have this????

被選擇的解決方法

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.

The user.js file is read each time Firefox is started 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.

You can delete the user.js file if you didn't create this file yourself.


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

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a 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.

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

所有回覆 (1)

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.

The user.js file is read each time Firefox is started 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.

You can delete the user.js file if you didn't create this file yourself.


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

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a 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.