mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 07:30:47 +05:30
106 lines
8.8 KiB
JavaScript
106 lines
8.8 KiB
JavaScript
|
|
/****************************************************************************
|
|
* *
|
|
* DISCLAIMER *
|
|
* *
|
|
* This file is NOT INTENDED FOR OFFICIAL USE *
|
|
* It is a mix of PERSONAL and TESTING prefs and *
|
|
* may cause breakage or contain changes you do not want! *
|
|
* DO NOT USE unless you know what you are doing! *
|
|
* *
|
|
****************************************************************************/
|
|
|
|
/****************************************************************************
|
|
* START: MY OVERRIDES *
|
|
****************************************************************************/
|
|
|
|
/** SETUP ON FIRST INSTALLATION ***/
|
|
//user_pref("network.trr.uri", "https://dns.nextdns.io/******/Firefox"); // TRR/DoH
|
|
|
|
/** FASTFOX ***/
|
|
user_pref("dom.ipc.processCount.webIsolated", 1); // use one process per site
|
|
//user_pref("dom.ipc.processPrelaunch.fission.number", 1); // # of Preallocated
|
|
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand", true);
|
|
//user_pref("media.av1.enabled", false); // disable AV1 to force video hardware decoding
|
|
|
|
/** SECUREFOX ***/
|
|
//user_pref("urlclassifier.features.socialtracking.skipURLs", "*.twitter.com, *.twimg.com"); // removed *.instagram.com
|
|
user_pref("browser.urlbar.showSearchSuggestionsFirst", false); // unselect "Show search suggestions ahead of browsing history in address bar results" for clean UI
|
|
user_pref("browser.urlbar.groupLabels.enabled", false); // hide Firefox Suggest label in URL dropdown box
|
|
user_pref("signon.management.page.breach-alerts.enabled", false); // extra hardening
|
|
user_pref("signon.autofillForms", false); // unselect "Autofill logins and passwords" for clean UI
|
|
user_pref("signon.generation.enabled", false); // unselect "Suggest and generate strong passwords" for clean UI
|
|
user_pref("signon.firefoxRelay.feature", "unavailable"); // unselect suggestions from Firefox Relay for clean UI
|
|
//user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear browsing data on shutdown
|
|
//user_pref("privacy.clearOnShutdown.offlineApps", true); // clear Site Data on shutdown
|
|
user_pref("browser.safebrowsing.downloads.enabled", false); // deny SB to scan downloads to identify suspicious files; local checks only
|
|
user_pref("browser.safebrowsing.downloads.remote.url", ""); // enforce no remote checks for downloads by SB
|
|
user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
|
user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); // clean up UI; not needed in user.js if remote downloads are disabled
|
|
user_pref("browser.safebrowsing.allowOverride", false); // do not allow user to override SB
|
|
user_pref("dom.push.enabled", false); // disable Push API; breaks FF Sync and Site Notifications
|
|
user_pref("browser.search.update", false); // do not update opensearch engines
|
|
//user_pref("network.dns.skipTRR-when-parental-control-enabled", false); // bypass parental controls when using DoH
|
|
user_pref("network.trr.confirmationNS", "skip"); // skip TRR confirmation request
|
|
user_pref("extensions.webextensions.restrictedDomains", ""); // remove Mozilla domains so adblocker works on pages
|
|
|
|
/** PESKYFOX ***/
|
|
user_pref("devtools.accessibility.enabled", false); // removes un-needed "Inspect Accessibility Properties" on right-click
|
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false); // Settings>Home>Firefox Home Content>Recent Activity>Shortcuts>Sponsored shortcuts
|
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false); // Settings>Home>Firefox Home Content>Recent Activity>Recommended by Pocket>Sponsored Stories
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeBookmarks", false); // Settings>Home>Firefox Home Content>Recent Activity>Bookmarks
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeDownloads", false); // Settings>Home>Firefox Home Content>Recent Activity>Most Recent Download
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includeVisited", false); // Settings>Home>Firefox Home Content>Recent Activity>Visited Pages
|
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); // Settings>Home>Firefox Home Content>Recent Activity>Pages Saved to Pocket
|
|
user_pref("browser.download.folderList", 0); // 0=desktop, 1=downloads, 2=last used
|
|
user_pref("browser.toolbars.bookmarks.visibility", "never"); // always hide bookmark bar
|
|
user_pref("browser.startup.homepage_override.mstone", "ignore"); // What's New page after updates; master switch
|
|
user_pref("browser.translations.autoTranslate", true); // make Firefox auto-translate non-English pages
|
|
user_pref("browser.urlbar.suggest.bookmark", false); // hide URL bar dropdown suggestions
|
|
user_pref("browser.urlbar.suggest.history", false); // hide URL bar dropdown suggestions
|
|
user_pref("browser.urlbar.suggest.openpage", false); // hide URL bar dropdown suggestions
|
|
//user_pref("browser.urlbar.suggest.searches", false); // hide URL bar dropdown suggestions (needed?)
|
|
//user_pref("browser.urlbar.maxRichResults", 1); // minimum suggestion needed for URL bar autofill
|
|
user_pref("browser.bookmarks.max_backups", 0); // minimize disk use; manually back-up
|
|
user_pref("view_source.wrap_long_lines", true); // wrap source lines
|
|
user_pref("devtools.debugger.ui.editor-wrapping", true); // wrap lines in devtools
|
|
user_pref("browser.zoom.full", false); // text-only zoom, not all elements on page
|
|
user_pref("pdfjs.sidebarViewOnLoad", 2); // [HIDDEN] force showing of Table of Contents in sidebar for PDFs (if available)
|
|
user_pref("ui.key.menuAccessKey", 0); // remove underlined characters from various settings
|
|
user_pref("general.autoScroll", false); // disable unintentional behavior for middle click
|
|
user_pref("ui.SpellCheckerUnderlineStyle", 1); // dots for spell check errors
|
|
//user_pref("browser.tabs.loadInBackground", false); // CTRL+SHIFT+CLICK for background tabs; Settings>General>Tabs>"When you open a link, image or media in a new tab, switch to it immediately"
|
|
user_pref("media.videocontrols.picture-in-picture.display-text-tracks.size", "small"); // PiP
|
|
user_pref("media.videocontrols.picture-in-picture.urlbar-button.enabled", false); // PiP in address bar
|
|
user_pref("reader.parse-on-load.enabled", false); // disable reader mode
|
|
//user_pref("reader.color_scheme", "auto"); // match system theme for when reader is enabled
|
|
//user_pref("browser.urlbar.openintab", true); // stay on current site and open new tab when typing in URL bar
|
|
|
|
/** DELETE IF NOT NIGHTLY ***/
|
|
user_pref("privacy.userContext.enabled", false); // disable Containers functionality
|
|
user_pref("browser.crashReports.unsubmittedCheck.enabled", false); // true by default on NIGHTLY
|
|
//user_pref("browser.urlbar.suggest.quickactions", false); // Quick Actions in URL bar
|
|
//user_pref("xpinstall.signatures.required", false); // [ESR/DEV/NIGHTLY]
|
|
|
|
/** DELETE IF NOT WINDOWS DESKTOP ***/
|
|
user_pref("network.trr.mode", 3); // enable TRR (without System fallback)
|
|
user_pref("gfx.canvas.accelerated", true); // DEFAULT except on WINDOWS; enable if not using an integrated GPU
|
|
user_pref("default-browser-agent.enabled", false); // deny Mozilla monitoring default browser (breaks "Make Default" button)
|
|
user_pref("pdfjs.defaultZoomValue", "125"); // alt=page-width; PDF zoom level
|
|
user_pref("gfx.font_rendering.cleartype_params.rendering_mode", 5);
|
|
user_pref("gfx.font_rendering.cleartype_params.cleartype_level", 100);
|
|
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_for_families", "");
|
|
user_pref("gfx.font_rendering.cleartype_params.force_gdi_classic_max_size", 6);
|
|
user_pref("gfx.font_rendering.directwrite.use_gdi_table_loading", false);
|
|
//user_pref("gfx.font_rendering.cleartype_params.gamma", 898); // 1000-2200; https://www.reddit.com/r/firefox/comments/10ed7o2/comment/j4qar9y/
|
|
//user_pref("font.name.serif.x-western", "Roboto Slab"); // serif font
|
|
//user_pref("font.name.sans-serif.x-western", "Roboto"); // sans-serif font
|
|
//user_pref("font.name.monospace.x-western", "Fira Code"); // monospace font
|
|
//user_pref("security.family_safety.mode", 0); // disable parental controls [WINDOWS 8-10]
|
|
|
|
/** DELETE IF NOT macOS LAPTOP ***/
|
|
user_pref("network.trr.mode", 2); // enable TRR (with System fallback)
|
|
user_pref("pdfjs.defaultZoomValue", "page-width"); // LAPTOP; PDF zoom level
|
|
user_pref("app.update.auto", false); // disable auto-installing Firefox updates [NON-WINDOWS]
|
|
//user_pref("font.name.monospace.x-western", "SF Mono"); // monospace font
|