搜尋 Mozilla 技術支援網站

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

Learn More

How to prevent previous tabs from restoring after a shutdown session.

  • 無回覆
  • 4 有這個問題
  • 15 次檢視
more options

I was recently attacked by a virus when I visited a web site. I quickly closed Firefox and when I tried to reopen the browser later that day, Firefox restored my tabs from that session and the virus got in. Is there a way to prevent previous tabs from being restored after a quick shutdown? I would rather just lose whatever I was working on and go directly to my homepage. Thank you for any help you can offer.

I was recently attacked by a virus when I visited a web site. I quickly closed Firefox and when I tried to reopen the browser later that day, Firefox restored my tabs from that session and the virus got in. Is there a way to prevent previous tabs from being restored after a quick shutdown? I would rather just lose whatever I was working on and go directly to my homepage. Thank you for any help you can offer.

所有回覆 (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.

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

See:


To open the about:config page, type about:config in the location (address) bar and press the "Enter" key, just like you type the url of a website to open a website.
If you see a warning then you can confirm that you want to access that page.