為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Firefox keeps restoring previous session even thought that preference is not checked

  • 6 回覆
  • 1 有這個問題
  • 101 次檢視
  • 最近回覆由 McCoy

more options

FireFox V64.0, 64 bit keeps restoring previous session with previous content even after proper shutdown of both FireFox and PC. Preference settings are NOT checked for Restore. I have tried checking them, restarting, unchecking them and restarting, but no change.

FireFox V64.0, 64 bit keeps restoring previous session with previous content even after proper shutdown of both FireFox and PC. Preference settings are NOT checked for Restore. I have tried checking them, restarting, unchecking them and restarting, but no change.

被選擇的解決方法

Hello Briankarens,

Would you please type in the address bar about:support (press Enter) => Profile Folder => Open Folder Then check if you have a user.js file in your Firefox profile folder that sets the value of the browser.sessionstore.resume_session_once preference to "true" (default value is "false") (you'll have to close Firefox first)

See this article : https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Scroll down to the section "User.js file overriding Firefox settings "

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

所有回覆 (6)

more options

選擇的解決方法

Hello Briankarens,

Would you please type in the address bar about:support (press Enter) => Profile Folder => Open Folder Then check if you have a user.js file in your Firefox profile folder that sets the value of the browser.sessionstore.resume_session_once preference to "true" (default value is "false") (you'll have to close Firefox first)

See this article : https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save

Scroll down to the section "User.js file overriding Firefox settings "

more options

Thanks for solution. Wouldn't it make sense if FireFox preferences listing INCLUDED any settings from user.js?

more options

Briankarens said

Thanks for solution. Wouldn't it make sense if FireFox preferences listing INCLUDED any settings from user.js?

Maybe you'd like to submit feedback, using this link :

https://qsurvey.mozilla.com/s3/FirefoxInput/

Worth a try ....

more options

Hi, I am having this problem too. Firefox 74.0 on openSUSE Leap 42.3 - KDE Plasma 5.8.7. In the preferences I have "Restore previous session" unchecked. in about:config I have:

 browser.sessionstore.resume_from_crash        false
 browser.sessionstore.max_resumed_crashes  0

I log out of KDE without closing firefox. At the next login all my tabs and windows are restored. I would like to start with a new session with the option of restoring the old session using the menu. I want to keep my history and the undo close tab/window functionality. Is there a way to do this ?

more options

Oh and I don't have a user.js

more options

leishman said

Oh and I don't have a user.js

Hello leishman,

Would you be so kind as to start a new thread, using this link :

https://support.mozilla.org/en-US/questions/new/desktop/other

(you'll have to scroll down to the bottom of the page)

Your problem may be different from the OPs.