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!

Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Is there a way to disable the clear browsing history when closing option? Or disable clear browsing history?

  • 2 respostas
  • 2 têm este problema
  • 1 visualização
  • Última resposta por cor-el

more options

Is there a way to disable the clear browsing history when closing option? Or disable clear browsing history?

Is there a way to disable the clear browsing history when closing option? Or disable clear browsing history?

Todas as respostas (2)

more options

Not saving History (Tools -> options -> Privacy), make sure you are saving your history in the privacy options, and also not clearing in "Settings for Clearing History", see

You can uncheck the "Clear history when Firefox closes" but you still have the the "Clear recent history" (formerly "Clear history") loose canon on the Tools menu, best to make sure that the only thing you clear when you exit Firefox is the browser cache.

more options

A way to do that is to lock the corresponding privacy.cpd and privacy.clearOnShutdown pref(s) on the about:config page via a mozilla.cfg file in the Firefox program folder (C:\Program Files\Mozilla Firefox\).

Be aware that it is still possible to clear the history in the sidebar and the History/Bookmarks Manager (History > Show All History)


//first comment line in mozilla.cfg required
lockPref("privacy.clearOnShutdown.history", false);
lockPref("privacy.cpd.history", false);

You can place a file local-settings.js in the defaults\pref folder with this content:

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

If you set the obscure value to 0 then no byte-shift is required.