From 0225da149f2468d0a20e5fb831e3d76e63f830f4 Mon Sep 17 00:00:00 2001
From: aminomancer <33384265+aminomancer@users.noreply.github.com>
Date: Mon, 8 Aug 2022 04:28:17 -0700
Subject: [PATCH] update pref recommendations
---
README.md | 3 +-
prefs/recommended.js | 92 ++++++++++++++++++++++++--------------------
prefs/required.js | 24 +++++++-----
3 files changed, 68 insertions(+), 51 deletions(-)
diff --git a/README.md b/README.md
index ee44ccb2..5feb457c 100644
--- a/README.md
+++ b/README.md
@@ -85,13 +85,14 @@ I also recommend setting the following prefs in `about:config`. There are two pr
| browser.startup.preXulSkeletonUI | Boolean | false | |
| browser.tabs.tabMinWidth | Number | 90 | User preference, but mine is 90 |
| browser.tabs.tabmanager.enabled | Boolean | true | Enables "all tabs menu" |
-| browser.urlbar.accessibility.tabToSearch.announceResults | Boolean | false | The following hide irritating urlbar results |
+| browser.urlbar.accessibility.tabToSearch.announceResults | Boolean | false | The following disable some urlbar results |
| browser.urlbar.quicksuggest.enabled | Boolean | false | |
| browser.urlbar.richSuggestions.tail | Boolean | false | |
| browser.urlbar.searchTips | Boolean | false | |
| browser.urlbar.suggest.quicksuggest.sponsored | Boolean | false | |
| browser.urlbar.tabToSearch.onboard.interactionsLeft | Number | 0 | |
| browser.urlbar.trimURLs | Boolean | false | Don't hide `http://` in the urlbar |
+| browser.urlbar.groupLabels.enabled | Boolean | false | Don't show urlbar result group labels like "Firefox Suggest" |
| full-screen-api.transition-duration.enter | String | `0 0` | Remove the fade in/out transition when switching to/from fullscreen |
| full-screen-api.transition-duration.leave | String | `0 0` | |
| full-screen-api.warning.delay | Number | -1 | Remove the warning when switching to/from fullscreen |
diff --git a/prefs/recommended.js b/prefs/recommended.js
index 8edcf6f9..6221ece1 100644
--- a/prefs/recommended.js
+++ b/prefs/recommended.js
@@ -1,5 +1,6 @@
-// required prefs
-// disable telemetry since we're modding firefox
+////// ⚠️ REQUIRED PREFS
+
+//// disable telemetry since we're modding firefox
user_pref("toolkit.telemetry.enabled", false);
user_pref("browser.discovery.enabled", false);
user_pref("app.shield.optoutstudies.enabled", false);
@@ -7,25 +8,16 @@ user_pref("datareporting.healthreport.documentServerURI", "http://%(server)s/hea
user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true);
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
-// allow installing the unsigned search extensions.
-// the localized search extensions currently can't be signed because of
-// https://github.com/mozilla/addons-linter/issues/3911 so to use them, we must
-// disable the signature requirement and go to about:addons > gear icon >
-// install addon from file > find the .zip file
-user_pref("xpinstall.signatures.required", false);
-user_pref("extensions.autoDisableScopes", 0);
-// eliminate some nuisances
-user_pref("browser.shell.checkDefaultBrowser", false);
-user_pref("browser.startup.homepage_override.mstone", "ignore");
-// make the theme work properly
+//// make the theme work properly
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("browser.proton.places-tooltip.enabled", true);
user_pref("layout.css.moz-document.content.enabled", true);
user_pref("layout.css.xul-box-display-values.content.enabled", true);
user_pref("layout.css.xul-display-values.content.enabled", true);
-// eliminate the blank white window during startup
+//// eliminate the blank white window during startup
user_pref("browser.startup.blankWindow", false);
user_pref("browser.startup.preXulSkeletonUI", false);
+////
// required for icons with data URLs
user_pref("svg.context-properties.content.enabled", true);
// required for acrylic gaussian blur
@@ -36,67 +28,89 @@ user_pref("layout.css.cached-scrollbar-styles.enabled", false);
user_pref("ui.systemUsesDarkTheme", 1);
// enable content dark mode
user_pref("layout.css.prefers-color-scheme.content-override", 0);
-user_pref("browser.theme.content-theme", 0);
-user_pref("browser.theme.toolbar-theme", 0);
// allow stylesheets to modify trees in system pages viewed in regular tabs
user_pref("layout.css.xul-tree-pseudos.content.enabled", true);
// allow the color-mix() CSS function
user_pref("layout.css.color-mix.enabled", true);
// other CSS features
user_pref("layout.css.moz-outline-radius.enabled", true);
-// avoid native styling
+//// avoid native styling
user_pref("browser.display.windows.non_native_menus", 1);
user_pref("widget.content.allow-gtk-dark-theme", true);
+////
// keep "all tabs" menu available at all times, useful for all tabs menu expansion pack
user_pref("browser.tabs.tabmanager.enabled", true);
+// disable urlbar result group labels since we don't use them
+user_pref("browser.urlbar.groupLabels.enabled", false);
// corresponds to the system color Highlight
user_pref("ui.highlight", "hsl(250, 100%, 60%)");
// Background for selected