mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 07:30:47 +05:30
Updated Optional Hardening (markdown)
+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
|
||||
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.siteSettings", false);
|
||||
user_pref("browser.sessionstore.privacy_level", 2);
|
||||
```
|
||||
|
||||
***
|
||||
|
||||
### Secure DNS (DoH setup)
|
||||
Mode 3 has site-exceptions with a nice UI on the error page:
|
||||
* Go to `☰` *→ Settings → Privacy & Security → DNS over HTTPS → Manage Exceptions*
|
||||
1) `network.trr.uri`: Use the one provided, or customize how DoH protects you.
|
||||
* [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:
|
||||
1) [Create a profile](https://nextdns.io/?from=xujj63g5) with NextDNS and follow our [configuration guide](https://github.com/yokoffing/NextDNS-Config).
|
||||
2) Add your endpoint to `network.trr.uri`.
|
||||
2) `network.trr.mode`: Set to `2` if your work or university doesn't allow alternative DNS.
|
||||
* `3` has site-exceptions with a nice UI on the error page:
|
||||
* Go to `☰` *→ Settings → Privacy & Security → DNS over HTTPS → Manage Exceptions*
|
||||
```
|
||||
// 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"); // custom endpoint
|
||||
user_pref("network.trr.uri", "https://freedns.controld.com/x-hagezi-proplus");
|
||||
user_pref("network.trr.mode", 3);
|
||||
user_pref("network.dns.skipTRR-when-parental-control-enabled", false);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user