搜尋 Mozilla 技術支援網站

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

Learn More

accidentally deleted history of opened tabs

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

more options

I accidentally deleted my history of opened tabs in Firefox (on Windows 10) by opening a new tab before opening the old tabs from the restore previous session-option. Can I access the old tabs?

When I select “history” (in the menu) and then “manage history”, I can choose “import and backup” and then “restore”. Then I get a number of dates that I perceive as restore points for tabs that were open at that particular time. One of these dates is the date with the tabs I want. Do I understand this correctly and can I access my accidentally closed window in this way?

When I select the date of interest, I get the message “This will replace all of your current bookmarks with the backup. Are you sure?”. I then click “OK”, but nothing happens.

I accidentally deleted my history of opened tabs in Firefox (on Windows 10) by opening a new tab before opening the old tabs from the restore previous session-option. Can I access the old tabs? When I select “history” (in the menu) and then “manage history”, I can choose “import and backup” and then “restore”. Then I get a number of dates that I perceive as restore points for tabs that were open at that particular time. One of these dates is the date with the tabs I want. Do I understand this correctly and can I access my accidentally closed window in this way? When I select the date of interest, I get the message “This will replace all of your current bookmarks with the backup. Are you sure?”. I then click “OK”, but nothing happens.

所有回覆 (1)

more options

"Import and backup -> Restore" is about restoring an automatically created Bookmark backup. This has nothing to do with session data like open tabs. If you restore such a backup then you lose bookmarks newer than are in this restored backup like the message about replacing intends to say, so use with care.

You need a sessionstore file from the sessionstore-backups folder that has the lost tabs to be able to access those tabs.

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

Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

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