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-09-27 12:38:19 -06:00
parent 830b4b4174
commit 2b6c80cf0e
+37 -25
@@ -20,7 +20,7 @@ To enable certain functions, `copy+paste` the appropriate prefs to the `MY OVERR
*** ***
### Accessibility Service ### Accessibility Service
Firefox **Accessibility Service** is disabled to improve resource utilization and security. Firefox Accessibility Service is disabled to improve resource utilization and security.
Enable it to allow external applications to use keyboard shortcuts, as well as allow screen readers and other assistive software. Enable it to allow external applications to use keyboard shortcuts, as well as allow screen readers and other assistive software.
``` ```
@@ -31,7 +31,7 @@ user_pref("accessibility.force_disabled", 0);
*** ***
### Firefox Sync & View ### 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. 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.
``` ```
// PREF: restore Firefox Sync // PREF: restore Firefox Sync
@@ -45,9 +45,10 @@ user_pref("browser.tabs.firefox-view-next", true); // [FF119+]
*** ***
### Public Key Pinning ### Public Key Pinning
:warning: Override if your antivirus software — or some other [source](https://github.com/yokoffing/Betterfox/issues/232#issuecomment-1732346856) — won't let you open websites ([example](https://www.reddit.com/r/firefox/comments/16mlv15/kaspersky_cant_scan_encrypted_connections_with/)).
[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. [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.
:warning: Override if your antivirus software — or some other [source](https://github.com/yokoffing/Betterfox/issues/232#issuecomment-1732346856) — 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 for antivirus software // PREF: relax certificate pinning for antivirus software
// [ERROR] MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE // [ERROR] MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE
@@ -75,7 +76,7 @@ user_pref("signon.privateBrowsingCapture.enabled", false);
*** ***
### Search engine suggestions ### Search engine suggestions
**Search engine suggestions** are disabled in the URL bar to keep everything you type from going to Google. 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)). 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)).
``` ```
@@ -91,7 +92,7 @@ Change your **default search engine**:
*** ***
### Pinned Shortcuts on New Tab page ### Pinned Shortcuts on New Tab page
**Top sites** (pinned site shortcuts) are removed for a clean new tab page. Top sites (pinned site shortcuts) are removed for a clean new tab page.
``` ```
// PREF: restore Top Sites on New Tab page and remove sponsored content // 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.feeds.topsites", true); // Shortcuts
@@ -102,28 +103,9 @@ user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Sponsor
*** ***
### Location requests
**Location requests** are blocked to minimize annoyances.
```
// PREF: allow websites to ask you for your location
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/).
```
// PREF: allow websites to ask you to receive site notifications
user_pref("permissions.default.desktop-notification", 0);
```
***
### Bookmarks behavior ### Bookmarks behavior
Some users prefer the default behavior.
#### Open bookmarks in new tabs #### Open bookmarks in the current tab
Force bookmark links to open in the same tab you have open (and not a new tab). Force bookmark links to open in the same tab you have open (and not a new tab).
``` ```
// PREF: force bookmarks to open in the current tab // PREF: force bookmarks to open in the current tab
@@ -135,4 +117,34 @@ Close the Bookmarks Menu open after clicking on a bookmark link.
``` ```
// PREF: close Bookmarks Menu after selecting a site // PREF: close Bookmarks Menu after selecting a site
user_pref("browser.bookmarks.openInTabClosesMenu", true); user_pref("browser.bookmarks.openInTabClosesMenu", true);
```
***
### Location requests
Location requests are blocked to minimize annoyances.
```
// PREF: allow websites to ask you for your location
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/).
```
// PREF: allow websites to ask you to receive site notifications
user_pref("permissions.default.desktop-notification", 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);
``` ```