From 41cd6de67c7c233c1df4a12ff9166ae5f1e13eef Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 25 Nov 2023 19:20:59 +0900 Subject: [PATCH] Update user_prefs in Firefox --- home-manager/common/software/gui/firefox.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/gui/firefox.nix b/home-manager/common/software/gui/firefox.nix index df04a6fa..8e8516f5 100644 --- a/home-manager/common/software/gui/firefox.nix +++ b/home-manager/common/software/gui/firefox.nix @@ -736,11 +736,11 @@ * [NOTE] If "history" is true, downloads will also be cleared * [NOTE] "sessions": Active Logins: refers to HTTP Basic Authentication [1], not logins via cookies * [1] https://en.wikipedia.org/wiki/Basic_access_authentication ***/ - user_pref("privacy.clearOnShutdown.cache", true); // [DEFAULT: true] + user_pref("privacy.clearOnShutdown.cache", false); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.downloads", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.formdata", true); // [DEFAULT: true] user_pref("privacy.clearOnShutdown.history", true); // [DEFAULT: true] - user_pref("privacy.clearOnShutdown.sessions", true); // [DEFAULT: true] + user_pref("privacy.clearOnShutdown.sessions", false); // [DEFAULT: true] // user_pref("privacy.clearOnShutdown.siteSettings", false); // [DEFAULT: false] /* 2812: set Session Restore to clear on shutdown (if 2810 is true) [FF34+] * [NOTE] Not needed if Session Restore is not used (0102) or it is already cleared with history (2811)