How to I restart Firefox without restoring an old session?
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:
- http://kb.mozillazine.org/Session_Restore#Restoring_a_session_after_a_crash
- http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes
All Replies (2)
You can set the way this works. Give this a look. https://support.mozilla.com/en-US/kb/Session%20Restore#w_configuring-session-restore
الحل المُختار
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: