From 668064133bba60311a89eaabcbb672bd7c4b096a Mon Sep 17 00:00:00 2001 From: Kshitij Date: Fri, 6 Jun 2025 16:14:03 +0530 Subject: [PATCH] Merged some prefs from custom.js to user.js. Need to merge remaining. --- Firefox-Config/custom.js | 56 +--------------------------------- Firefox-Config/user.js | 66 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 66 insertions(+), 56 deletions(-) diff --git a/Firefox-Config/custom.js b/Firefox-Config/custom.js index c26ca0a..7b91f75 100644 --- a/Firefox-Config/custom.js +++ b/Firefox-Config/custom.js @@ -1,44 +1,9 @@ -/** SPECULATIVE LOADING ***/ -user_pref("browser.send_pings", false); // [DEFAULT: false] - -/** SEARCH / URL BAR ***/ -user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] -user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] -user_pref("browser.urlbar.suggest.searches", false); -user_pref("browser.search.separatePrivateDefault", true); // [FF70+] - -/** PASSWORDS ***/ -user_pref("signon.autofillForms", false); -user_pref("signon.formlessCapture.enabled", false); - -/** SAFE BROWSING ***/ -user_pref("browser.safebrowsing.malware.enabled", false); -user_pref("browser.safebrowsing.phishing.enabled", false); -user_pref("browser.safebrowsing.downloads.enabled", false); -user_pref("browser.safebrowsing.downloads.remote.url", ""); // Defense-in-depth -user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); - -/** CRASH REPORTS ***/ -user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false] - -/** MOZILLA UI ***/ -user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false] - -/** URL BAR ***/ -user_pref("browser.urlbar.addons.featureGate", false); // [FF115+] -user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false] -user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF] -user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false] -user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false] -user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] -user_pref("browser.urlbar.clipboard.featureGate", false); - /** SSL / OCSP **/ user_pref("security.ssl.require_safe_negotiation", true); user_pref("security.OCSP.enabled", 1); // [DEFAULT: 1] // CHANGE IN user.js UPAR UPAR user_pref("security.OCSP.require", true); -**************************************************************************** +/**************************************************************************** * START: MY OVERRIDES * ****************************************************************************/ // visit https://github.com/yokoffing/Betterfox/wiki/Common-Overrides @@ -249,22 +214,3 @@ user_pref("geo.provider.use_geoclue", false); // [FF102+] [LINUX] /**************************************************************************** * END OF ARKEN FOX * ***************************************************************************/ - - - -/**************************************************************************************** - * OPTION: SHARPEN SCROLLING * - ****************************************************************************************/ -// credit: https://github.com/black7375/Firefox-UI-Fix -// only sharpen scrolling -user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX -user_pref("general.smoothScroll", true); // DEFAULT -user_pref("mousewheel.min_line_scroll_amount", 10); // adjust this number to your liking; default=5 -user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50 -user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25 -user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4 -// Firefox Nightly only: -// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935 -user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly] - - diff --git a/Firefox-Config/user.js b/Firefox-Config/user.js index 4a3a41f..6c9644e 100644 --- a/Firefox-Config/user.js +++ b/Firefox-Config/user.js @@ -216,13 +216,77 @@ user_pref("layout.word_select.eat_space_to_next_word", false); + +/**************************************************************************** + * END: MY OVERRIDES * +****************************************************************************/ + +/**************************************************************************** + * START: ARKEN FOX MODS * +****************************************************************************/ + +// Enforce no "Hyperlink Auditing" (click tracking) +user_pref("browser.send_pings", false); // [DEFAULT: false] + +// Disable location bar contextual suggestions +user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); // [FF95+] +user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); // [FF92+] + +// Disable live search suggestions +user_pref("browser.urlbar.suggest.searches", false); + +// Enable separate default search engine in Private Windows and its UI setting +user_pref("browser.search.separatePrivateDefault", true); // [FF70+] + +// Disable auto-filling username & password form fields +user_pref("signon.autofillForms", false); + +// Disable Safe Browsing +user_pref("browser.safebrowsing.malware.enabled", false); +user_pref("browser.safebrowsing.phishing.enabled", false); +user_pref("browser.safebrowsing.downloads.enabled", false); +user_pref("browser.safebrowsing.downloads.remote.url", ""); // Defense-in-depth +user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); + +// Enforce no submission of backlogged Crash Reports [FF58+] +user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [DEFAULT: false] + +// Disable shopping experience [FF116+] +user_pref("browser.shopping.experience2023.enabled", false); // [DEFAULT: false] + +// Disable urlbar suggestions +user_pref("browser.urlbar.addons.featureGate", false); // [FF115+] +user_pref("browser.urlbar.fakespot.featureGate", false); // [FF130+] [DEFAULT: false] +user_pref("browser.urlbar.mdn.featureGate", false); // [FF117+] [HIDDEN PREF] +user_pref("browser.urlbar.pocket.featureGate", false); // [FF116+] [DEFAULT: false] +user_pref("browser.urlbar.weather.featureGate", false); // [FF108+] [DEFAULT: false] +user_pref("browser.urlbar.yelp.featureGate", false); // [FF124+] +user_pref("browser.urlbar.clipboard.featureGate", false); + +/**************************************************************************** + * END: ARKEN FOX MODS * +****************************************************************************/ + /**************************************************************************** * SECTION: SMOOTHFOX * ****************************************************************************/ // visit https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js // Enter your scrolling overrides below this line: - +/*********************************** + * OPTION: SHARPEN SCROLLING * + ***********************************/ +// credit: https://github.com/black7375/Firefox-UI-Fix +// only sharpen scrolling +user_pref("apz.overscroll.enabled", true); // DEFAULT NON-LINUX +user_pref("general.smoothScroll", true); // DEFAULT +user_pref("mousewheel.min_line_scroll_amount", 10); // adjust this number to your liking; default=5 +user_pref("general.smoothScroll.mouseWheel.durationMinMS", 80); // default=50 +user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); // default=.25 +user_pref("general.smoothScroll.stopDecelerationWeighting", "0.6"); // default=.4 +// Firefox Nightly only: +// [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1846935 +user_pref("general.smoothScroll.msdPhysics.enabled", false); // [FF122+ Nightly] /**************************************************************************** * END: BETTERFOX *