Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

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

详细了解
Solved 已存档

Restore session does not work when (all) history is set to be deleted on shutdown

sandwichx

In "Edit | Preferences : General | Startup" activating 'Restore previous session' will not do what expected when in ": Privacy & Security | History | Firefox will" is set to "Use custom settings for history" and "Clear history when Firefox closes" is activated and in its "Settings..." (When closed, Firefox should automatically clear all | History) "Browsing & Download History" is activated.

1) So, why is there no warning, if these conflicting preferences are choosen? (You close Firefox and at next start, all Tabs are gone.)

2) Why is it not possible to have 'Restore previous session' and still delete at least the Download history when exiting Firefox? (Firefox does not need the download history for restoring the previous session, does it? In other words: why are the browsing history and the download history not at separate checkboxes? Finally: why cannot the browsing history be deleted except the currently open tabs (for restoring the previous session at next start)? )

Well, I know that these are not really questions for the user community, but I don't know where else to put them.

In "Edit | Preferences : General | Startup" activating 'Restore previous session' will not do what expected when in ": Privacy & Security | History | Firefox will" is set to "Use custom settings for history" and "Clear history when Firefox closes" is activated and in its "Settings..." (When closed, Firefox should automatically clear all | History) "Browsing & Download History" is activated. 1) So, why is there no warning, if these conflicting preferences are choosen? (You close Firefox and at next start, all Tabs are gone.) 2) Why is it not possible to have 'Restore previous session' and still delete at least the Download history when exiting Firefox? (Firefox does not need the download history for restoring the previous session, does it? In other words: why are the browsing history and the download history not at separate checkboxes? Finally: why cannot the browsing history be deleted except the currently open tabs (for restoring the previous session at next start)? ) Well, I know that these are not really questions for the user community, but I don't know where else to put them.

所有回复 (2)

Your open windows and tabs (session history) and your download history reveal the sites you were using, so they are treated as part of "history" for purposes of covering your tracks maintaining your privacy by clearing history.

It definitely would be convenient if there were warnings on the Options page; I don't know how complicated that would be to implement.

If you would consider an add-on for this, maybe there is one that can remove history for closed windows and tabs, leaving only the history for the URLs of open tabs. No idea how complicated (or slow) that would be to implement.

To submit suggestions for changes in future versions of Firefox, you have many choices, depending on your desired style of interaction.

Discussion Sites/Advocacy

Limited Length Comments

选择的解决方案

Thanks!