mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Updated Optional Hardening (markdown)
+8
-8
@@ -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);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user