How To Wiki
Wagnike2 (talk | contribs)
m (clean up, typos fixed: firefox → Firefox (2))
Line 1: Line 1:
 
You may find [[Firefox]]'s session restore crash recovery feature annoying and not too useful. You can disable this feature fairly easily.
 
You may find [[Firefox]]'s session restore crash recovery feature annoying and not too useful. You can disable this feature fairly easily.
   
==The Firefox crash recovery warning:==
+
==The Firefox crash recovery warning==
 
[[Image:Firefox-resore-previous-session-crach-warning.jpg]]
 
[[Image:Firefox-resore-previous-session-crach-warning.jpg]]
 
<blockquote>''You last Firefox session closed unexpectedly. You can restore the tabs and windows from your previous session, or start a new session if you think the problem was related to the pare you were viewing.''<br />''Start New Session,''<br />''Restore Session''</blockquote>
 
<blockquote>''You last Firefox session closed unexpectedly. You can restore the tabs and windows from your previous session, or start a new session if you think the problem was related to the pare you were viewing.''<br />''Start New Session,''<br />''Restore Session''</blockquote>
Line 19: Line 19:
 
#Open gedit
 
#Open gedit
 
#Paste these 2 lines into gedit
 
#Paste these 2 lines into gedit
#*rm /home/USER/.mozilla/firefox/mwad0hks.default/sessionstore.js<br />/opt/firefox/firefox
+
#*rm /home/USER/.mozilla/firefox/mwad0hks.default/sessionstore.js<br />/opt/Firefox/Firefox
 
#Replace USER with your User Name
 
#Replace USER with your User Name
 
#Click the '''File''' menu and '''Save As'''
 
#Click the '''File''' menu and '''Save As'''
Line 28: Line 28:
 
#Click the Permissions Tab.
 
#Click the Permissions Tab.
 
#Check the box next to Execute: Allow executing this file as program. Close
 
#Check the box next to Execute: Allow executing this file as program. Close
#Find Firefox.sh on your Desktop and double click.<br />
+
#Find Firefox.sh on your Desktop and double click.
   
 
===To have Firefox restore previous window after any closing of Firefox (crash or no crash)===
 
===To have Firefox restore previous window after any closing of Firefox (crash or no crash)===
Line 41: Line 41:
   
 
==References==
 
==References==
*http://support.mozilla.com/kb/Session+Restore<div id="wikia-credits"><br /><br /><small>From [http://howto.wikia.com HowTo Wiki], a [http://www.wikia.com Wikia] wiki.</small></div>
+
*http://support.mozilla.com/kb/Session+Restore<div id="wikia-credits">
  +
  +
<small>From [http://howto.wikia.com HowTo Wiki], a [http://www.wikia.com Wikia] wiki.</small></div>
 
[[Category:Howto]]
 
[[Category:Howto]]

Revision as of 16:24, 17 December 2013

You may find Firefox's session restore crash recovery feature annoying and not too useful. You can disable this feature fairly easily.

The Firefox crash recovery warning

Firefox-resore-previous-session-crach-warning

You last Firefox session closed unexpectedly. You can restore the tabs and windows from your previous session, or start a new session if you think the problem was related to the pare you were viewing.
Start New Session,
Restore Session

Disabling crash recovery feature

  • Open about:config in the Firefox location bar
  • Type browser.sessionstore.resume_from_crash in the filter box, or search for it manually iny
  • Double click
    browser.sessionstore.resume_from_crash
  • It should change from
    • browser.sessionstore.resume_from_crash default boolean true
      to
    • browser.sessionstore.resume_from_crash user_set boolean false
  • Close and restart Firefox, and it should not warn you anymore

Script to manually disable in Debian or Ubuntu

  1. Open gedit
  2. Paste these 2 lines into gedit
    • rm /home/USER/.mozilla/firefox/mwad0hks.default/sessionstore.js
      /opt/Firefox/Firefox
  3. Replace USER with your User Name
  4. Click the File menu and Save As
  5. Name the file Firefox.sh
  6. Save in folder: Drop down menu select: Desktop
  7. Save the file, then it on your Desktop.
  8. Right click on Firefox.sh and click Properties
  9. Click the Permissions Tab.
  10. Check the box next to Execute: Allow executing this file as program. Close
  11. Find Firefox.sh on your Desktop and double click.

To have Firefox restore previous window after any closing of Firefox (crash or no crash)

  1. Open the Firefox options panel.
    • (Windows) At the top of the Firefox window, click on the Tools menu, and select Options...
    • (Mac) On the menu bar, click on the Firefox menu, and select Preferences...
    • (Linux) At the top of the Firefox window, click on the Edit menu, and select Preferences...
  2. Click the Main icon
  3. From the When Firefox starts drop-down, select Show my windows and tabs from last time
  4. Click OK

link title

References

From HowTo Wiki, a Wikia wiki.