change history prefs

This commit is contained in:
fxbrit 2022-03-08 16:13:58 +01:00 committed by fabrizio
parent 47bdeaae86
commit 8304e04391
2 changed files with 23 additions and 2 deletions

View file

@ -1,6 +1,21 @@
This changelog will be used from now on to document changes in a precise manner, with a list of changes for each setting version.
Setting versions are documented using the pref `librewolf.cfg.version`, available in about:config.
# 5.6
**target commit**:
**base librewolf version**: 98.x
**References**:
- we are going to force history to custom mode and hide the UI for always on PB mode, a bunch of pointers are collected in [this MR](https://gitlab.com/librewolf-community/browser/source/-/merge_requests/21).
#### Added preferences
```
pref("privacy.history.custom", true);
pref("browser.privatebrowsing.autostart", false);
```
# 5.5
**target commit**:

View file

@ -6,7 +6,7 @@
*
* WARNING: please make sure the first line of this file is empty. this is a known bug.
*/
defaultPref("librewolf.cfg.version", "5.5");
defaultPref("librewolf.cfg.version", "5.6");
/** INDEX
@ -38,6 +38,7 @@ defaultPref("librewolf.cfg.version", "5.5");
* 5. dFPI specific cookie cleaning mechanism
*
* the desired category must be set with pref() otherwise it won't stick.
* the UI that allows to change mode manually is hidden.
*/
pref("browser.contentblocking.category", "strict");
defaultPref("network.cookie.cookieBehavior", 5); // enforce dFPI
@ -67,7 +68,12 @@ defaultPref("browser.shell.shortcutFavicons", false);
defaultPref("browser.pagethumbnails.capturing_disabled", true);
defaultPref("browser.helperApps.deleteTempFileOnExit", true); // delete temporary files opened with external apps
/** [SECTION] HISTORY AND SESSION RESTORE */
/** [SECTION] HISTORY AND SESSION RESTORE
* since we hide the UI for modes other than custom we want to reset it for
* everyone. same thing for always on PB mode.
*/
pref("privacy.history.custom", true);
pref("browser.privatebrowsing.autostart", false);
defaultPref("browser.formfill.enable", false); // disable form history
defaultPref("browser.sessionstore.privacy_level", 2); // prevent websites from storing session data like cookies and forms
defaultPref("browser.sessionstore.interval", 60000); // increase time between session saves