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

Updated Common Overrides (markdown)

HJ
2023-10-02 12:31:09 -04:00
parent 45f7cf11d8
commit 589e0ad22e
+7 -19
@@ -22,7 +22,7 @@ To enable certain functions, `copy+paste` the appropriate prefs to the `MY OVERR
### Firefox Sync & View
Firefox [Sync](https://support.mozilla.org/en-US/kb/how-do-i-set-sync-my-computer) and Firefox [View](https://support.mozilla.org/en-US/kb/how-set-tab-pickup-firefox-view) are disabled to minimize connections.
```
```javascript
// PREF: restore Firefox Sync
user_pref("identity.fxaccounts.enabled", true);
@@ -37,7 +37,7 @@ user_pref("browser.tabs.firefox-view-next", true); // [FF119+]
The built-in **password manager** is disabled for security.
We recommend using [Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager/) or [1Password](https://addons.mozilla.org/en-US/firefox/addon/1password-x-password-manager) to manage your credentials on multiple devices.
```
```javascript
// PREF: restore login manager and autofill
user_pref("signon.rememberSignons", true);
@@ -55,7 +55,7 @@ user_pref("signon.privateBrowsingCapture.enabled", false);
Search engine suggestions are disabled in the URL bar to keep everything you type from going to Google.
You can still use search buttons and bookmark [keywords](https://www-archive.mozilla.org/docs/end-user/keywords.html) ([video example](https://youtu.be/bGTBH9yr8uw?t=968)).
```
```javascript
// PREF: restore search engine suggestions
user_pref("browser.search.suggest.enabled", true);
```
@@ -69,7 +69,7 @@ Change your **default search engine**:
### Pinned Shortcuts on New Tab page
Top sites (pinned site shortcuts) are removed for a clean new tab page.
```
```javascript
// PREF: restore Top Sites on New Tab page and remove sponsored content
user_pref("browser.newtabpage.activity-stream.feeds.topsites", true); // Shortcuts
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Sponsored shortcuts
@@ -81,7 +81,7 @@ user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsor
### Location requests
Location requests are blocked to minimize annoyances.
```
```javascript
// PREF: allow websites to ask you for your location
user_pref("permissions.default.geo", 0);
```
@@ -90,7 +90,7 @@ user_pref("permissions.default.geo", 0);
### Site notifications
Site notifications are blocked to minimize annoyances and [increase security](https://www.reddit.com/r/Safari/comments/164hew8/hi_i_keep_getting_this_obviously_fake/).
```
```javascript
// PREF: allow websites to ask you to receive site notifications
user_pref("permissions.default.desktop-notification", 0);
```
@@ -102,20 +102,8 @@ user_pref("permissions.default.desktop-notification", 0);
[Public Key Pinning](https://wiki.mozilla.org/SecurityEngineering/Public_Key_Pinning) (PKP) is a tool that boosts the safety of [SSL certificates](https://www.cloudflare.com/learning/ssl/what-is-an-ssl-certificate/) by linking a website to its unique security key. This process ensures that the website you're visiting is real and not fake. PKP stops any attempts to trick your computer into connecting with a fraudulent website.
```
```javascript
// PREF: relax certificate pinning
// [ERROR] MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE
user_pref("security.cert_pinning.enforcement_level", 0);
```
***
### XOriginTrimmingPolicy
:warning: Override if you have downloads that won't initiate ([example](https://www.reddit.com/r/waterfox/comments/16px8yq/comment/k29r6bu/?context=3)).
```
// PREF: control the amount of cross-origin information to send
// 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port
user_pref("network.http.referer.XOriginTrimmingPolicy", 0);
```