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

Updated Common Overrides (markdown)

HJ
2023-09-22 09:58:21 -06:00
parent cccfa5adeb
commit f4e37b491a
+15 -14
@@ -108,20 +108,21 @@ user_pref("permissions.default.desktop-notification", 0);
***
## Possible error codes
### Bookmarks behavior
Some users prefer the default behavior.
Only use the overrides if absolutely needed. They should be uncommon in mainstream use.
***
### SSL negotiation
Override if you experience error `SSL_ERROR_UNSAFE_NEGOTIATION` from a **trusted** site.
If you are concerned about possible site breakage, please reset `security.ssl.require_safe_negotiation` to `false`.
#### Open bookmarks in new tabs
Force bookmark links to open in the same tab you have open (and not a new tab).
```
// PREF: allow unsafe SSL negotiation
// [ERROR] SSL_ERROR_UNSAFE_NEGOTIATION
user_pref("security.ssl.require_safe_negotiation", false);
// PREF: force bookmarks to open in the current tab
user_pref("browser.tabs.loadBookmarksInTabs", false);
```
#### Close Bookmarks Menu after selecting a link
Close the Bookmarks Menu open after clicking on a bookmark link.
```
// PREF: close Bookmarks Menu after selecting a site
user_pref("browser.bookmarks.openInTabClosesMenu", true);
```
***
@@ -129,9 +130,9 @@ user_pref("security.ssl.require_safe_negotiation", false);
### Public Key Pinning (PKP)
We enforce [strict pinning](https://github.com/yokoffing/Betterfox/blob/94c4a77f0ca1c868c4b2f02360dbdbefb7789bd5/Securefox.js#L241-L247).
Override if you use antivirus software and Firefox shows `MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE`.
:warning: Override if your antivirus software won't let you open websites ([example](https://www.reddit.com/r/firefox/comments/16mlv15/kaspersky_cant_scan_encrypted_connections_with/)).
```
// PREF: relax certificate pinning (PKP)
// PREF: relax certificate pinning for antivirus software
// [ERROR] MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE
user_pref("security.cert_pinning.enforcement_level", 1);
```