Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 3 ответа
  • 2 имеют эту проблему
  • 1 просмотр
  • Последний ответ от Gingerbread Man

more options

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.

Все ответы (3)

more options

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.

more options

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.

Изменено Crisislord

more options

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.