搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how do I disable session restore

  • 3 回覆
  • 7 有這個問題
  • 1 次檢視
  • 最近回覆由 jcvolt

more options

When a website locks up my browser and I have to close it with task manager and reopen the browser, firefox tries to reopen the site that locked it up. How do I stop this?

When a website locks up my browser and I have to close it with task manager and reopen the browser, firefox tries to reopen the site that locked it up. How do I stop this?

被選擇的解決方法

Hi jcvolt said

When a website locks up my browser and I have to close it with task manager and reopen the browser, firefox tries to reopen the site that locked it up. How do I stop this?

Do you need Firefox not to restore your previous session right now? Because in that case, I'll provide steps to hide your session history files from Firefox so it has no choice but to start with the home page.

But if you meant more generally, going forward:

There are two preferences most relevant to automatic crash recovery:

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

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

(3) To skip automatic restore and display the "This is embarrassing" screen: Double-click the browser.sessionstore.max_resumed_crashes preference and change the value from 1 to 0 (that's a zero) and click OK -- I use this setting to avoid potential loops of problem sites loading and causing another crash, etc.

(4) To never restore your previous session after a crash: Double-click the browser.sessionstore.resume_from_crash preference to switch its value from true to false -- you might still be able to use the History menu to Restore Previous Session, but I haven't tested it myself

從原來的回覆中察看解決方案 👍 11

所有回覆 (3)

more options

Please consider turning on send info to Mozilla before posting a question. This helps us help you. As I have no info from your system that would help see things that cause issues.

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.

As everything is geared towards Firefox 57 all the old articles do not work since version 54 and have been archived.

Can try this extension. Does not say if compatible to ver 57 https://addons.mozilla.org/en-US/firefox/addon/session-manager/ can also look for comparable type extensions.

Please let us know if this solved your issue or if need further assistance.

more options

選擇的解決方法

Hi jcvolt said

When a website locks up my browser and I have to close it with task manager and reopen the browser, firefox tries to reopen the site that locked it up. How do I stop this?

Do you need Firefox not to restore your previous session right now? Because in that case, I'll provide steps to hide your session history files from Firefox so it has no choice but to start with the home page.

But if you meant more generally, going forward:

There are two preferences most relevant to automatic crash recovery:

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

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

(3) To skip automatic restore and display the "This is embarrassing" screen: Double-click the browser.sessionstore.max_resumed_crashes preference and change the value from 1 to 0 (that's a zero) and click OK -- I use this setting to avoid potential loops of problem sites loading and causing another crash, etc.

(4) To never restore your previous session after a crash: Double-click the browser.sessionstore.resume_from_crash preference to switch its value from true to false -- you might still be able to use the History menu to Restore Previous Session, but I haven't tested it myself

more options

Thank you so much!