From 7cf7b48e788c82ecc7b3bc77610ccde3b8713549 Mon Sep 17 00:00:00 2001 From: HJ <11689349+yokoffing@users.noreply.github.com> Date: Mon, 18 Sep 2023 21:48:05 -0400 Subject: [PATCH] Updated Optional Hardening (markdown) --- Optional-Hardening.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Optional-Hardening.md b/Optional-Hardening.md index 2c0b93b..fe6ec0a 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -85,15 +85,10 @@ user_pref("network.dns.skipTRR-when-parental-control-enabled", false); Clear browsing data on shutdown: * Go to `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Delete cookies and site data when Firefox is closed* -You can allow exceptions if you want to stay logged in to some sites: -* Go to `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions* -* For cross-domain logins, add exceptions for both sites - * e.g. `https://www.youtube.com` (site) + `https://accounts.google.com` (single sign on) ``` // PREF: clear browsing data on shutdown, while respecting site exceptions user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.clearOnShutdown.history", true); -user_pref("privacy.clearOnShutdown.downloads", true); user_pref("privacy.clearOnShutdown.formdata", true); user_pref("privacy.clearOnShutdown.sessions", true); user_pref("privacy.clearOnShutdown.offlineApps", true); @@ -101,6 +96,13 @@ user_pref("privacy.clearOnShutdown.siteSettings", false); user_pref("browser.sessionstore.privacy_level", 2); ``` +If you have session restore enable (Settings → Startup → Opened previous windows and tabs), then you will need to omit `privacy.clearOnShutdown.history` for session restore to work. + +You can allow exceptions if you want to stay logged in to some sites: +* Go to `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions* +* For cross-domain logins, add exceptions for both sites + * e.g. `https://www.youtube.com` (site) + `https://accounts.google.com` (single sign on) + *** ### `default-browser-agent` (Windows only)