From bb6b2f61b585370c7bd2758e171d259dabc228e2 Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:01:07 -0400 Subject: [PATCH] Updated Optional Hardening (markdown) --- Optional-Hardening.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Optional-Hardening.md b/Optional-Hardening.md index c010b88..61de668 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -151,23 +151,23 @@ These settings automatically clear your browsing data, such as browser history, ```javascript // PREF: delete all browsing data on shutdown user_pref("privacy.sanitize.sanitizeOnShutdown", true); -user_pref("privacy.clearOnShutdown_v2.cache", true); -user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); -user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); +user_pref("privacy.clearOnShutdown_v2.cache", true); // DEFAULT +user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // DEFAULT +user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // DEFAULT -// PREF: do not save extra session data such as form content, -// scrollbar positions, and POST data after crashes or restarts +// PREF: after crashes or restarts, do not save extra session data +// such as form content, scrollbar positions, and POST data user_pref("browser.sessionstore.privacy_level", 2); ``` #### Option 2: Clear only cookies and cache on shutdown -This option allows you to retain browser history and [restore previously opened tabs](https://support.mozilla.org/en-US/kb/how-do-i-restore-my-tabs-last-time#w_restore-the-previous-session-every-time-you-open-firefox) (optional). +This option allows you to retain browser history and restore [previously opened tabs](https://support.mozilla.org/en-US/kb/how-do-i-restore-my-tabs-last-time#w_restore-the-previous-session-every-time-you-open-firefox) (optional). * `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Delete cookies and site data when Firefox is closed* ```javascript // PREF: delete cookies, cache, and site data on shutdown user_pref("privacy.sanitize.sanitizeOnShutdown", true); -user_pref("privacy.clearOnShutdown_v2.cache", true); -user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); +user_pref("privacy.clearOnShutdown_v2.cache", true); // DEFAULT +user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // DEFAULT user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false); ```