Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

disabling history clearonshutdown for all users am i missing something ?

  • 3 respostas
  • 1 tem este problema
  • 3 visualizações
  • Última resposta de cor-el

more options

Hi
I've some hosts computers using active directory and multiple users loginng on them. For some reasons I need to force disabling history for all users.
I'm using Firefox 41.0.1
According to http://kb.mozillazine.org/Locking_preferences
I've created a local-settings.js file sored in c:\Program Files\Mozilla Firefox\defaults\pref\ Containing 2lines of text:
pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
Next i've created mozilla.cfg file stored in instalation directory c:\Program Files\Mozilla Firefox\
Containing :
//
defaultPref("privacy.clearOnShutdown.cache", true); lockPref("privacy.clearOnShutdown.cookies", true); defaultPref("privacy.clearOnShutdown.downloads", true); defaultPref("privacy.clearOnShutdown.formdata", true); defaultPref("privacy.clearOnShutdown.history", true); defaultPref("privacy.clearOnShutdown.offlineApps", true); lockPref("privacy.clearOnShutdown.passwords", true); lockPref("privacy.clearOnShutdown.sessions", true); defaultPref("privacy.clearOnShutdown.siteSettings", true); defaultPref("privacy.clearOnShutdown.openWindows", true);
When i go to about:config everything seems to be fine, all options are set as in the mozilla.cfg file (screenshot attached). But history isn't cleared on shutdown.
Simply check is to go to some web page and close cookies notification appears. After firefox shutdown, restart when i go to the same web page there's no cookies notification.
Am i missing something ?
Or maybe theres better way to block keeping the history for all users ?

Hi<br> I've some hosts computers using active directory and multiple users loginng on them. For some reasons I need to force disabling history for all users. <br> I'm using Firefox 41.0.1<br> According to http://kb.mozillazine.org/Locking_preferences <br> I've created a local-settings.js file sored in c:\Program Files\Mozilla Firefox\defaults\pref\ Containing 2lines of text:<br> pref("general.config.obscure_value", 0);<br> pref("general.config.filename", "mozilla.cfg");<br> Next i've created mozilla.cfg file stored in instalation directory c:\Program Files\Mozilla Firefox\<br> Containing :<br> // <br> defaultPref("privacy.clearOnShutdown.cache", true); lockPref("privacy.clearOnShutdown.cookies", true); defaultPref("privacy.clearOnShutdown.downloads", true); defaultPref("privacy.clearOnShutdown.formdata", true); defaultPref("privacy.clearOnShutdown.history", true); defaultPref("privacy.clearOnShutdown.offlineApps", true); lockPref("privacy.clearOnShutdown.passwords", true); lockPref("privacy.clearOnShutdown.sessions", true); defaultPref("privacy.clearOnShutdown.siteSettings", true); defaultPref("privacy.clearOnShutdown.openWindows", true); <br> When i go to about:config everything seems to be fine, all options are set as in the mozilla.cfg file (screenshot attached). But history isn't cleared on shutdown.<br> Simply check is to go to some web page and close cookies notification appears. After firefox shutdown, restart when i go to the same web page there's no cookies notification.<br> Am i missing something ?<br> Or maybe theres better way to block keeping the history for all users ?
Capturas de tela anexadas

Alterado por Powderedloox em

Todas as respostas (3)

more options

What is privacy.sanitize.sanitizeOnShutdown ?

Did you check if the items still show in the History Manager and the Cookie Manager?

There is no history kept and no data is stored in Private Browsing mode and users can't save passwords as well.

more options

privacy.sanitize.sanitizeOnShutdown false

change to True
causes clearing history after every second restart (fair enough for me)

Big Up cor-el

as for your other questions, before change to "True"
Yes - items were shown in History Manager and Cookie Manager.
&
any advice how to switch Private Browsing for all users ?

more options

You can use this:

  • lockPref("browser.privatebrowsing.autostart", true);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See also Configuration: