X
Tap here to go to the mobile version of the site.

Support Forum

How can i make firefox to restore my tabs after a crash without prompting for it?

Posted

Whenever firefox crashes it can restore tabs. But it does so with a prompt.

What i want is that firefox do not ask me to restore or start new session i want it to restore the tab without asking? i use firefox on linux Surprisingly its very hard to do.

Whenever firefox crashes it can restore tabs. But it does so with a prompt. What i want is that firefox do not ask me to restore or start new session i want it to restore the tab without asking? i use firefox on linux Surprisingly its very hard to do.

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.2 r202
  • The Adobe Reader plugin is used to enable viewing of PDF and FDF files from within the browser.
  • The IcedTea-Web Plugin executes Java applets.
  • This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox.
  • DivX Web Player version 1.4.0.233
  • The Totem 3.0.1 plugin handles video and audio streams.
  • This plugin provides integration with Gnome Shell for live extension enabling and disabling. It can be used only by extensions.gnome.org

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0

More Information

Gingerbread Man 403 solutions 1537 answers

Helpful Reply

For a single crash, Firefox will automatically restore the previous session without prompting. If multiple crashes occur, then you are presented with the prompt.

The above controls how many times Firefox will restore the previous session automatically.

  • toolkit.startup.max_resumed_crashes

The above controls the maximum number of times Firefox may crash at startup before it will start in Safe Mode automatically.

The above preferences only apply to crashes more recent than 6 hours. To edit the preferences, type about:config into the address bar, then press Enter.


If you haven't already, be sure to read the following article for help with the crashing problem.

For a single crash, Firefox will automatically restore the previous session without prompting. If multiple crashes occur, then you are presented with the prompt. * ''[http://kb.mozillazine.org/Browser.sessionstore.max_resumed_crashes browser.sessionstore.max_resumed_crashes]'' The above controls how many times Firefox will restore the previous session automatically. * ''toolkit.startup.max_resumed_crashes'' The above controls the maximum number of times Firefox may crash at startup before it will start in Safe Mode automatically. The above preferences only apply to crashes more recent than 6 hours. To edit the preferences, type '''about:config''' into the address bar, then press Enter. ---- If you haven't already, be sure to read the following article for help with the crashing problem. * [[Firefox crashes - Troubleshoot, prevent and get help fixing crashes]]

Question owner

Thank you very much it now works like a charm. What happens if i put the value to 0?

I know the origin of the crash and i cannot help it. I use firefox on linux and when you shutdown linux without closing firefox it registers it as a crash. Its just that i am automating some processes on my computer when it starts up and it happens that firefox is in the process and that prompt for crash was kinda getting in the way of the process order.

Thank you very much it now works like a charm. What happens if i put the value to 0? I know the origin of the crash and i cannot help it. I use firefox on linux and when you shutdown linux without closing firefox it registers it as a crash. Its just that i am automating some processes on my computer when it starts up and it happens that firefox is in the process and that prompt for crash was kinda getting in the way of the process order.

Modified by Crisislord

Gingerbread Man 403 solutions 1537 answers

Crisislord wrote:

Thank you very much it now works like a charm. What happens if i put the value to 0?

You're welcome. As explained in the article I linked to, that would cause the restore session prompt to always be displayed in case of a crash. What you want is -1 which would cause the prompt to never be displayed (for crashes that occured less than 6 hours prior).

Crisislord wrote:

I use firefox on linux and when you shutdown linux without closing firefox it registers it as a crash.

If Firefox is saying it crashed, then it was forcefully terminated. You should research a way to ensure it's gracefully closed on shutdown.
If it's not possible to tweak the shutdown process, then you could try running a command before shutdown instead. You're supposed to be able to close programs gracefully using wmctrl.

At the very least you should keep backups of your profile folder.

''Crisislord wrote:'' Thank you very much it now works like a charm. What happens if i put the value to 0? You're welcome. As explained in the article I linked to, that would cause the restore session prompt to always be displayed in case of a crash. What you want is '''-1''' which would cause the prompt to never be displayed (for crashes that occured less than 6 hours prior). ''Crisislord wrote:'' I use firefox on linux and when you shutdown linux without closing firefox it registers it as a crash. If Firefox is saying it crashed, then it was forcefully terminated. You should research a way to ensure it's gracefully closed on shutdown.<br> If it's not possible to tweak the shutdown process, then you could try running a command before shutdown instead. You're supposed to be able to close programs gracefully using ''wmctrl''. * http://spiralofhope.com/wmctrl-examples.html * Ubuntu forums [http://ubuntuforums.org/showthread.php?t=1621929 thread 1621929] and [http://ubuntuforums.org/showthread.php?t=185261 thread 185261]. At the very least you should keep backups of your profile folder. * [[Profiles - Where Firefox stores your bookmarks, passwords and other user data]]