搜尋 Mozilla 技術支援網站

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

了解更多

How to I restart Firefox without restoring an old session?

  • 2 回覆
  • 2 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Whenever I encounter a suspicious website (like a fake anti-virus site, porn redirect, etc), I will close Firefox 6 by using the Windows Task Manager (CTRL-ALT-DEL then Applications/Close). I do this because suspicious websites often force you to click on something before you can close your browser [Example: Are you sure you want to navigate away from this website? Yes/No]. I do not want to click on anything that may install malware. After this forced termination when I re-open Firefox, it attempts to restore my last session automatically. This of course re-opens the same suspicious website and I have to close Firefox a second time with CTRL-ALT-DEL. After that second forced termination I get the "Well this is embarrassing" page and I can choose to start a new session. My question: Is there any way to stop Firefox from trying to automatically restore an old session when it is forcibly closed or terminated? By the way...In Tools/Options/General/Startup, I am set to "show my home page" on startup.

Whenever I encounter a suspicious website (like a fake anti-virus site, porn redirect, etc), I will close Firefox 6 by using the Windows Task Manager (CTRL-ALT-DEL then Applications/Close). I do this because suspicious websites often force you to click on something before you can close your browser [Example: Are you sure you want to navigate away from this website? Yes/No]. I do not want to click on anything that may install malware. After this forced termination when I re-open Firefox, it attempts to restore my last session automatically. This of course re-opens the same suspicious website and I have to close Firefox a second time with CTRL-ALT-DEL. After that second forced termination I get the "Well this is embarrassing" page and I can choose to start a new session. My question: Is there any way to stop Firefox from trying to automatically restore an old session when it is forcibly closed or terminated? By the way...In Tools/Options/General/Startup, I am set to "show my home page" on startup.

被選擇的解決方法

Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See:

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

所有回覆 (2)

more options
more options

選擇的解決方法

Set the pref browser.sessionstore.max_resumed_crashes to 0 on the about:config page to get the about:sessionrestore page immediately with the first restart after a crash has occurred or the Task Manager was used to close Firefox.

That will allow you to deselect the tab(s) that you do not want to reopen, but will allow to reopen other tabs.

See: