搜尋 Mozilla 技術支援網站

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

了解更多

restore previous sesion

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

more options

Although I have selected "Open Previous Windows and Tabs" in Start-Up, my windows and tabs were not restored when I inadvertently quit Firefox. I then went to the three horizontal bar Application menu to look for "restore previous session", but it is no longer there. Is it possible to restore the possible to restore the "restore previous session" option in that menu? How can I restore previous session when I have inadvertently closed Firefox? I'll be grateful for advice. Thank you

Although I have selected "Open Previous Windows and Tabs" in Start-Up, my windows and tabs were not restored when I inadvertently quit Firefox. I then went to the three horizontal bar Application menu to look for "restore previous session", but it is no longer there. Is it possible to restore the possible to restore the "restore previous session" option in that menu? How can I restore previous session when I have inadvertently closed Firefox? I'll be grateful for advice. Thank you

所有回覆 (3)

more options

make sure Session Restore is enabled and working properly.


Make sure you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Settings -> Privacy & Security
    Firefox will: "Use custom settings for history"
  • remove checkmark: [ ] "Always use Private Browsing mode"

In case you use "Clear history when Firefox closes".

  • do not clear the "Browsing history"
  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
more options

Dear Cor-El, I had mistakenly marked your previous reply a solution. I did not find there answers to my questions. I have checked all my settings, and they were already as your reply indicated they should be. So why didn't my re-opening Firefox restore my windows? And why couldn't I find the "restore previous session" button in the Applications Menu, under History? Thanks for your patience, Jay

more options

Are there files present and updated in the sessionstore-backups folder in the profile folder? Does Firefox create a sessionstore.jsonlz4 file in the main/root level in the profile folder?

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.jsonlz4 to replace the current file with Firefox closed.

  • make sure to backup the current sessionstore.jsonlz4