mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 07:30:47 +05:30
Updated Optional Hardening (markdown)
+10
-19
@@ -127,17 +127,6 @@ user_pref("network.trr.mode", 3);
|
||||
|
||||
***
|
||||
|
||||
### Disk Cache
|
||||
Keep in mind that disabling the disk cache is only available on Firefox. It is not an option in any other browser.
|
||||
|
||||
Disable the disk cache if you believe it helps your privacy or performance.
|
||||
```javascript
|
||||
// PREF: disable disk cache
|
||||
user_pref("browser.cache.disk.enable", false);
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### Downloads
|
||||
|
||||
#### Always ask where to save files
|
||||
@@ -205,9 +194,10 @@ 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); // DEFAULT
|
||||
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // DEFAULT
|
||||
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true); // DEFAULT
|
||||
user_pref("privacy.clearOnShutdown_v2.cache", true);
|
||||
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true);
|
||||
user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", true);
|
||||
user_pref("privacy.clearOnShutdown_v2.formdata", true);
|
||||
|
||||
// PREF: after crashes or restarts, do not save extra session data
|
||||
// such as form content, scrollbar positions, and POST data
|
||||
@@ -215,18 +205,19 @@ 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 site 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); // DEFAULT
|
||||
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // DEFAULT
|
||||
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false);
|
||||
user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", false); // Browsing & download history
|
||||
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true); // Cookies and site data
|
||||
user_pref("privacy.clearOnShutdown_v2.cache", true); // Temporary cached files and pages
|
||||
user_pref("privacy.clearOnShutdown_v2.formdata", true); // Saved form info
|
||||
```
|
||||
|
||||
#### Allow exceptions
|
||||
For either option, you can create exceptions to stay logged in to some sites.
|
||||
For Option 2, you can create exceptions to stay logged in to some sites between sessions.
|
||||
* `☰` *→ Settings → Privacy & Security → Cookies and Site Data → Manage Exceptions*
|
||||
|
||||
***
|
||||
|
||||
Reference in New Issue
Block a user