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

搜索 | 用户支持

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

详细了解

How to avoid losing windows and tabs when you clear history?

  • 2 个回答
  • 1 人有此问题
  • 9 次查看
  • 最后回复者为 kgd7

more options

Firefox was running slow so I selected Firefox -Clear History in an attempt to speed it up. After clearing all history and restarting, Firefox returned to a normal speed, but all open tabs had disappeared… even though my setting was: Firefox - Preferences - When Firefox starts: “Show my window and tabs from last time.” How is it possible to lose open windows and tabs when “Show my window and tabs from last time.” has been selected? Is there another option that needs to be selected to avoid losing windows and tabs when you clear history?

Firefox was running slow so I selected Firefox -Clear History in an attempt to speed it up. After clearing all history and restarting, Firefox returned to a normal speed, but all open tabs had disappeared… even though my setting was: Firefox - Preferences - When Firefox starts: “Show my window and tabs from last time.” How is it possible to lose open windows and tabs when “Show my window and tabs from last time.” has been selected? Is there another option that needs to be selected to avoid losing windows and tabs when you clear history?

所有回复 (2)

more options

This would only happen if the use "Clear history when Firefox closes" to clear the browsing history. Clearing the history that way will prevent Firefox from opening the previous session to protect your privacy. You will have to clear the history manually to avoid this. Clearing history on close down shouldn't be necessary to fix issues. You can do that once.

Did you check "History -> Recently Closed Tabs/Windows"?

You would have to restore a copy of sessionstore.js from the Time Machine or other available backup to recover these lost tabs.

You can use this button to go to the current Firefox profile folder:


Make sure to close the Firefox application with all windows still open.

  • Mac: Firefox -> Quit Firefox
more options

Thank you for providing this service! I did not use "Clear history when Firefox closes" to clear the browsing history. I do not see that option on my version of Firefox at all. There must be some other reason why the tabs were cleared from the history. I used “Clear all History” and as I mentioned before my setting is: Firefox - Preferences - When Firefox starts: “Show my window and tabs from last time.” I am not trying to recover the lost tabs. I followed your suggestion and checked "History -> Recently Closed Tabs/Windows" and they are not backed up. I just want to know how to set up Firefox to prevent this from happening again. Is there another menu selection or box that I need to check or uncheck so that Firefox will “Show my window and tabs from last time” after I choose “Clear all history”?