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 已存档

How to temporarily disable restore previous session

cor-el 已回复
AndyS01

I have FF configured to restore previous sessions, but from time to time, I go to a web page that locks up FF. I force FF to exit, then I want to start FF with only the home page tab. Is there a command line option to do this?

I have FF configured to restore previous sessions, but from time to time, I go to a web page that locks up FF. I force FF to exit, then I want to start FF with only the home page tab. Is there a command line option to do this?
定位到答案原位置

选择的解决方案

You're welcome.

I noticed typos in my reply that I've fixed.

所有回复 (4)

A way out of a trap page is to (force it if needed) Close Firefox. Wait about 20 seconds for Firefox to finish closing. Right-click on the Firefox icon and select Open New Window. +++++++++++++++++++++++++++++++++ Sometimes this works. If it opens, close it by Menu > File > Exit. This will flush out that web page from the Session Store.

You can set this pref to 0 to always show the Session Restore page in case of a crash or when you use the Windows Task Manager to force a shutdown.

  • browser.sessionstore.max_resumed_crashes = 0

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

(edited to fix some typos)

由cor-el于修改

Great! That fixes my problem. Thank you

选择的解决方案

You're welcome.

I noticed typos in my reply that I've fixed.