为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

accidentally deleted history of opened tabs

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 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