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

搜索 | 用户支持

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

详细了解

disable session restore

more options

So, i've been having issues with firefox restoring my session after i kill it with task manager, and returning to the page that caused it to stop responding in the first place, is it possible to disable session restore entirely, after all, i don't actually use it anyways.

So, i've been having issues with firefox restoring my session after i kill it with task manager, and returning to the page that caused it to stop responding in the first place, is it possible to disable session restore entirely, after all, i don't actually use it anyways.

被采纳的解决方案

I don't think there is a simple on/off switch for session restore. What might help, though, is to change what Firefox does at startup after a crash: instead of immediately restoring all windows and tabs, it can present a screen saying something like "This is embarrassing" and listing the windows and tabs so you can deselect the ones you don't care about, or just start a new session.

If you want to try that, here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.max_resumed_crashes and edit the value from 1 to 0 (that's a zero) and OK the change.

This way, you could still restore the last session on demand (e.g., using History > Restore Previous Session) when needed, but you won't be forced to do it.

定位到答案原位置 👍 0

所有回复 (2)

more options

选择的解决方案

I don't think there is a simple on/off switch for session restore. What might help, though, is to change what Firefox does at startup after a crash: instead of immediately restoring all windows and tabs, it can present a screen saying something like "This is embarrassing" and listing the windows and tabs so you can deselect the ones you don't care about, or just start a new session.

If you want to try that, here's how:

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.max_resumed_crashes and edit the value from 1 to 0 (that's a zero) and OK the change.

This way, you could still restore the last session on demand (e.g., using History > Restore Previous Session) when needed, but you won't be forced to do it.

由jscher2000 - Support Volunteer于修改

more options

If you are having a lot of problems with "not responding" we have a support article with some suggestions:

Also, because Flash can cause this problem and is used pervasively through the web, I suggest the following to minimize potential issues with Flash during your troubleshooting:

(1) To avoid unnecessary pain on sites where Flash is not actually essential, try setting Flash to Click-to-Play ("Ask to Activate"). This will delay Flash from starting on a page until you approve it.

To set "Ask to Activate", open the Add-ons page using either:

  • Ctrl+Shift+a
  • "3-bar" menu button (or Tools menu) > Add-ons

In the left column, click Plugins. Look for "Shockwave Flash" and change "Always Activate" to "Ask to Activate".

With this setting, when you visit a site that wants to use Flash, you should see a notification icon in the address bar and usually (but not always) one of the following: a link in a dark gray rectangle in the page or an infobar sliding down between the toolbar area and the page.

The plugin notification icon in the address bar typically looks like a small, dark gray Lego block. (If it's red, Flash needs updating.)

The delay in activating Flash can help distinguish between problems caused on initial page load, styling, and script activation vs. loading/running Flash.

If you see a good reason to use Flash, and the site looks trustworthy, you can go ahead and click the notification icon in the address bar to allow Flash. You can trust the site for the time being or permanently.

But some pages use Flash only for tracking or playing ads, so if you don't see an immediate need for Flash, feel free to ignore the notification! It will just sit there in case you want to use it later.

(2) A common cause of unresponsive script errors on Windows Vista and higher is the protected mode feature of the Flash player plugin. That feature has security benefits, but seems to have serious compatibility issues on some systems. You can disable it using the Add-ons page. Either:

  • Ctrl+Shift+a
  • "3-bar" menu button (or Tools menu) > Add-ons

In the left column, click Plugins. On the right side, find "Shockwave Flash" and click the More link. Then uncheck the box for "Enable Adobe Flash protected mode" and try that for a day to see whether it helps.