From 8f668b71a1d7df29c4e4c37f5e239897973ee557 Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:37:17 -0400 Subject: [PATCH] Updated Optional Hardening (markdown) --- Optional-Hardening.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Optional-Hardening.md b/Optional-Hardening.md index 36dd8f5..9be0940 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -99,10 +99,10 @@ user_pref("security.cert_pinning.enforcement_level", 2); *** ### Sanitize on close -#### Option 1: Clear browsing data on shutdown, except browser history +#### Option 1: Clear cookies and cache on shutdown * `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Delete cookies and site data when Firefox is closed* ```javascript -// PREF: clear browsing data on shutdown (except browser history) +// PREF: delete cookies and site data on shutdown user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.clearOnShutdown.cache", true); user_pref("privacy.clearOnShutdown.cookies", true); @@ -111,8 +111,10 @@ user_pref("browser.sessionstore.privacy_level", 2); ``` #### Option 2: Clear all browsing data on shutdown +* `☰` *→ Settings → Privacy & Security → History → Clear history when Firefox closes* + ```javascript -// PREF: clear all browsing data on shutdown +// PREF: delete all browsing data on shutdown user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.clearOnShutdown.history", true); user_pref("privacy.clearOnShutdown.formdata", true); @@ -124,7 +126,7 @@ user_pref("privacy.clearOnShutdown.siteSettings", false); user_pref("browser.sessionstore.privacy_level", 2); ``` -:warning: If you have session restore enable (_Settings → General → Startup → Open previous windows and tabs_), then you will need to use **Option 1** for session restore to work. +:warning: If you have session restore enable (`☰` _→ Settings → General → Startup → Open previous windows and tabs_), then you will need to use **Option 1** for session restore to work. #### Allow exceptions You can allow exceptions if you want to stay logged in to some sites: