Firefox is embarrassing you with restore session error on startup, here is how to permanently disable it.
Starting with Firefox 2, the Mozilla browser has the Session Restore feature built in, which stores all session data (which includes: open windows and tabs, Windows size and position, and text typed into forms) in the Sessionstore.js file that resides in the Firefox Profile Folder file.
Everything you need to know about Crash Protection offered in Firefox
Reasons for Firefox to show embarrassing error on startup
When Firefox crashes for the first time – due to plugin content or a problem with the page you are viewing – Firefox automatically restores the previous session on startup.
If the browser crashes for the second time, the Restore Session error page or window will appear with the message: “Well, this is embarrassing, Firefox is having trouble recovering your windows and tabs. This is usually caused by a recently opened webpage.” . The error suggests removing one or more tabs causing problems or prompting you to start a new session.
ProfileCleaner fixes Firefox startup issues by removing problematic Firefox user profile files
Removing or Disabling Firefox’s ‘Well, That’s Embarrassing’ Error Permanently
If you are getting this error very often or every day with some tabs open, you can stop Firefox from offering this whenever a crash occurs
1. Visit about:config in the browser
2. turn browser.sessionstore.resume_from_crash preference value for false and set browser.sessionstore.max_resumed_crashes for 0 (the default is 1)
Have you been embarrassed by Firefox with this message at any time? Let me know in the comments.
Removed ‘Do not load tabs until selected’ preference from Firefox’s tab options
Observation: Firefox may not have closed properly, this could be one of the reasons you get an embarrassing message, you can try the things below so the problem doesn’t persist.
1. Open Firefox, click on the menu and select ‘Exit’ (Ctrl+Shift+Q).
2. If you are using CCleaner, launch it, click on the Applications tab and uncheck ‘Session’ in Firefox.