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!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

unclean shutdown tab restore

more options

I try to configure firefox with the strictest privacy settings at all times, but there are some cases where privacy leaks are quite annoying. This problem is particularly annoying.

Firefox has a feature to restore tabs from a previous session on startup. Obviously I do not use this feature, not wittingly anyway. When firefox is shutdown cleanly, there is not a problem. When I kill firefox via SIGTERM or signal 9 then firefox will shutdown, but then when I start it up again, it will restore the previous session's tabs without even asking (not even the usual "do you want to restore?" page). This should not be. Firefox should startup as a clean slate.

While I understand in the case of a kill -9 that firefox is not able to delete temporary files, firefox is able to do this on a SIGTERM, but apparently it does not. But on startup, firefox should be configurable to delete any residual temporary files it discovers, instead of reloading (read: re-sending HTTP requests) my previous tabs, especially with no prompt.

How can I resolve this problem?

I try to configure firefox with the strictest privacy settings at all times, but there are some cases where privacy leaks are quite annoying. This problem is particularly annoying. Firefox has a feature to restore tabs from a previous session on startup. Obviously I do not use this feature, not wittingly anyway. When firefox is shutdown cleanly, there is not a problem. When I kill firefox via SIGTERM or signal 9 then firefox will shutdown, but then when I start it up again, it will restore the previous session's tabs without even asking (not even the usual "do you want to restore?" page). This should not be. Firefox should startup as a clean slate. While I understand in the case of a kill -9 that firefox is not able to delete temporary files, firefox is able to do this on a SIGTERM, but apparently it does not. But on startup, firefox should be configurable to delete any residual temporary files it discovers, instead of reloading (read: re-sending HTTP requests) my previous tabs, especially with no prompt. How can I resolve this problem?

Toutes les réponses (1)

more options

You can prevent Firefox from automatically restoring after a crash. Instead, Firefox will give you the choice of restoring or loading your home page. Here's how to do that:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and change the value from 1 to 0 and OK that.

Note: I suggest not changing any other sessionstore preferences without researching them first.

Speaking of privacy, do you already block Firefox from storing session cookies in the session history file? These are the relevant preferences:

  • browser.sessionstore.privacy_level => set to 2 (default is 0)
  • browser.sessionstore.privacy_level_deferred => set to 2 (default is 1)