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

搜索 | 用户支持

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

详细了解

Firefox keeps restoring tabs after killing

more options

When I kill Firefox (it is the fastest way to close it) it keeps restoring the previous session in full after a new start. The browser did it 5 times in a row.

While I want to restore only the tabs of current importance.

Here are my configuration settings for restoring after crash.

Please let me know how i can get to Session Restore screen after the second killing.

Thank you!

When I kill Firefox (it is the fastest way to close it) it keeps restoring the previous session in full after a new start. The browser did it 5 times in a row. While I want to restore only the tabs of current importance. Here are my configuration settings for restoring after crash. Please let me know how i can get to Session Restore screen after the second killing. Thank you!
已附加屏幕截图

所有回复 (2)

more options

Go to about:config and change browser.sessionstore.max_resumed_crashes to 0.

more options

zeroknight said

Go to about:config and change browser.sessionstore.max_resumed_crashes to 0.

When you use this setting (I use it myself), instead of restoring your last session automatically, Firefox should display a screen letting you select specific windows/tabs to restore, or just to start a new session.

That gives you timely control, and allows for the potential scenario of a true crash where you want your tabs back.

But if you never want automatic restoration, that screen would just be an extra step. You could look at this setting instead (note: I have not tested it myself):

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.sessionstore.resume_from_crash and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

I think you still would have the "Restore Previous Session" item on the History menu after this change but, again, I have not tested this setting.

Let us know how you decide to handle it.