![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Privacy, History, Use Custom settings changes to "Remember History" on launch.
Hello,
We are doing a deployment of firefox for a customer of ours using the mozilla.cfg so we can lock down the preferences for our customers users. They requre a specific setting in the Privacy section under History of clearing history, but ONLY the Cache setting However, upon launch of firefox the History setting is set to "Remember History"which is incorrect as we have selected custom settings via the mozilla.cfg, if we drop down to use custom settings the correct settings are there - however closing firefox and reopening will reset to "Remember History" I have read that if the settings match the default settings of "Remember History" that it will default to "Remember History" however we have specified custom settings? Are the settings actually being set in the background behind the guise of the "Remember History" or is firefox actually Remembering the History? There was meant to be screenshots along with this question however due to poor upload speed I am unable to upload. Kind Regards
Alle antwurden (1)
I think that is OK if you use lockPref() to make a specific setting.
If you lock or set privacy.sanitize.sanitizeOnShutdown to true then that becomes a new default setting and isn't taken into account. If I lock any of the other prefs like browser.formfill.enable = false then I still see "Remember History". Setting via defaultPref() has the same effect as can be expected, only using pref() to set the pref for the current session make the custom setting open.
Seeing "(Never) Remember History" means that all history and cookie settings are set to the default value (cookies are enabled and kept until they expire). "Use custom settings for history" allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings. Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made. If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".