搜尋 Mozilla 技術支援網站

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

Learn More

How to open firefox just this once without prior sessions restarting?

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

more options

Last session I stumbled on a site infected with malware. Now, each time I reopen Firefox, the old sessions restart, as usual (and as I want them to, except for now), going immediately into the malware problem again.

Firewalls and anti-virus are handling the problem ok so far, but obviously I can't keep opening Firefox and banging against the malware.

How to open without restoring previous sessions? I'm not talking about changing the default setting, not talking about having it never restore sessions. Just this time, how to get around the automatic restore of sessions?

Thank you.

This happened

Just once or twice

I stumbled on an infected site

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; AskTB5.2)

所有回覆 (1)

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.

See https://wiki.mozilla.org/Session_Restore#Preferences http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes

See also http://kb.mozillazine.org/Session_Restore#Firefox_keeps_crashing_after_restoring_a_session