Is Firefox embarrassing you with restore session error on startup, here is how to permanently disable it.
Starting from version Firefox 2, Mozilla browser has the Session Restore feature built-in, which stores all session data (that includes: open windows and tabs, Windows size and position and text typed in forms) in Sesssionstore.js file which resides in the Firefox profile folder.
Reasons for Firefox to show Embarrassing Error on startup
When Firefox crashes for the first time -due to plugin content or issue with the page you’ve viewing- Firefox automatically restores previous session on startup.
If the browser crashes for the second time, Restore Session error page or window will be shown with the message: “Well, this is embarrassing, Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened web page.” . Error suggest to remove one or more tabs that causing trouble or asks to start a new session.
Removing or disabling Firefox’s ‘Well, this is embarrassing’ error permanently
If you’re that getting that error too often or every day with a few tabs open, you can stop Firefox from offering that whenever a crash happens
1. Visit about:config in browser
2. Turn browser.sessionstore.resume_from_crash preference value to false and set browser.sessionstore.max_resumed_crashes to 0 (default is 1)
Were you embarrassed by Firefox with that message any time? Let me know in the comments.
Note: Firefox may not have been closed properly, that could be one of the reasons for you to get embarrassing message, you can try the below things for the issue to not to persist.
1. Open Firefox, click on menu and select ‘Exit’ (Ctrl+Shift+Q).
2. If you’re using CCleaner, launch it, click on Applications tab and uncheck ‘Session’ under Firefox.