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

搜尋 Mozilla 技術支援網站

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

了解更多

Restore Previous Session Option is Missing From History Menu

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

more options

I have been using the "Restore Previous Session Option" fairly often for years, but within the last few weeks the option is no longer there.

I had tried to use the Settings > Open Previous Windows and Tabs as a workaround, but it doesn't appear to be consistent.

Did something change in a recent update, or is my installation broken somehow? I tried refreshing Firefox but that didn't bring it back.

The article here shows what I am referring to and has a screenshot of where the "Restore Previous Session" option was: https://support.mozilla.org/en-US/kb/restore-previous-session#w_when-session-restore-occurs


[[Knowledge Base Article|https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2021-05-19-06-31-50-513d15.png]]

Anyone else have this problem? Is my installation broken? And how to fix?

I have been using the "Restore Previous Session Option" fairly often for years, but within the last few weeks the option is no longer there. I had tried to use the Settings > Open Previous Windows and Tabs as a workaround, but it doesn't appear to be consistent. Did something change in a recent update, or is my installation broken somehow? I tried refreshing Firefox but that didn't bring it back. The article here shows what I am referring to and has a screenshot of where the "Restore Previous Session" option was: https://support.mozilla.org/en-US/kb/restore-previous-session#w_when-session-restore-occurs [[Knowledge Base Article|https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/gallery/images/2021-05-19-06-31-50-513d15.png]] Anyone else have this problem? Is my installation broken? And how to fix?

所有回覆 (3)

more options

Because I know these are going to be asked:

I do not have "use custom settings for history" checked.

I do not have "Clear history when Firefox closes" enabled.

I have tried with and without the "Clear history when Firefox closes" option enabled.

The History > restore previous session option is no longer there.

more options

Yes, it happens sometimes. You will have to roll your sleeves up and do it manually this time. https://support.mozilla.org/en-US/questions/1437447#answer-1632326

more options

"Restore Previous Session" is not available when the session already has been restored like when you use the startup "Open previous windows and tabs" or when you let the OS close Firefox.

Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar, especially if you have multiple windows or Private Browsing windows open to prevent losing tabs in unnoticed windows.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit

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

You can look at this tool to inspect a compressed jsonlz4 sessionstore file. This tool works locally, no uploading done.

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