1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 07:30:47 +05:30

Updated Optional Hardening (markdown)

HJ
2023-08-21 22:00:11 -04:00
parent 4ed9d7787f
commit 7fed732a17
+7 -12
@@ -55,28 +55,23 @@ You can **allow exceptions** if you want to stay logged in to some sites:
``` ```
// PREF: clear browsing data on shutdown, while respecting site exceptions // PREF: clear browsing data on shutdown, while respecting site exceptions
user_pref("privacy.sanitize.sanitizeOnShutdown", true); 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); user_pref("privacy.clearOnShutdown.offlineApps", true);
user_pref("privacy.clearOnShutdown.siteSettings", false);
user_pref("browser.sessionstore.privacy_level", 2); user_pref("browser.sessionstore.privacy_level", 2);
``` ```
*** ***
### Secure DNS (DoH setup) ### Secure DNS (DoH setup)
Mode 3 has site-exceptions with a nice UI on the error page: 1) `network.trr.uri`: Use the one provided, or customize how DoH protects you.
* Go to `☰` *→ Settings → Privacy & Security → DNS over HTTPS → Manage Exceptions* * [Create a profile](https://nextdns.io/?from=xujj63g5) with NextDNS and follow our [configuration guide](https://github.com/yokoffing/NextDNS-Config).
For `network.trr.uri`: use the one provided, or customize how DoH protects you: 2) `network.trr.mode`: Set to `2` if your work or university doesn't allow alternative DNS.
1) [Create a profile](https://nextdns.io/?from=xujj63g5) with NextDNS and follow our [configuration guide](https://github.com/yokoffing/NextDNS-Config). * `3` has site-exceptions with a nice UI on the error page:
2) Add your endpoint to `network.trr.uri`. * Go to `☰` *→ Settings → Privacy & Security → DNS over HTTPS → Manage Exceptions*
``` ```
// PREF: enforce DNS-over-HTTPS (DoH) // PREF: enforce DNS-over-HTTPS (DoH)
user_pref("network.trr.mode", 3); // Max Protection user_pref("network.trr.uri", "https://freedns.controld.com/x-hagezi-proplus");
user_pref("network.trr.uri", "https://freedns.controld.com/x-hagezi-proplus"); // custom endpoint user_pref("network.trr.mode", 3);
user_pref("network.dns.skipTRR-when-parental-control-enabled", false); user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
``` ```