mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
fixed mis-categorizations
This commit is contained in:
+208
-96
@@ -1,37 +1,105 @@
|
||||
/******
|
||||
//
|
||||
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
|
||||
*
|
||||
* If you make changes to your about:config while the program is running, the
|
||||
* changes will be overwritten when the application restarts.
|
||||
*
|
||||
* To make a change to preferences, you will have to edit the user.js file.
|
||||
*/
|
||||
|
||||
* name: PeskyFox
|
||||
* description: Take away annoyances and adds a few options
|
||||
* date: 24 March 2020
|
||||
* version 74
|
||||
* authors: hjs
|
||||
* url: https://github.com/hjstephens09/Better-Fox
|
||||
* license: MIT: https://github.com/hjstephens09/Better-Fox/blob/master/LICENSE
|
||||
/****************************************************************************
|
||||
* PeskyFox *
|
||||
* "Aquila non capit muscas." *
|
||||
* priority: remove annoyances *
|
||||
* version: 3 April 2020 *
|
||||
* url: https://github.com/yokoffing/Better-Fox *
|
||||
***************************************************************************/
|
||||
|
||||
******/
|
||||
/****************************************************************************
|
||||
* SECTION: DARK MODE *
|
||||
****************************************************************************/
|
||||
|
||||
/** DOWNLOADS ***/
|
||||
/* Download location
|
||||
* 0=desktop, 1=downloads (default), 2=last used
|
||||
* [SETTING] To set your default "downloads": General>Downloads>Save files to ***/
|
||||
// PREF: Dark pages in settings pages
|
||||
// user_pref("browser.in-content.dark-mode", true);
|
||||
|
||||
// PREF: Enforce prefers-color-scheme as Dark
|
||||
// 0=light, 1=dark : This overrides your OS value.
|
||||
// user_pref("ui.systemUsesDarkTheme", 1); // [HIDDEN PREF]
|
||||
|
||||
// PREF: Disable webextension restrictions on Mozilla domains
|
||||
// If you use an extension to turn your webpages to Dark Mode, this prevents
|
||||
// you from being blinded by white flash when navigating to a Mozilla domain.
|
||||
// ! RESTART
|
||||
// https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988
|
||||
// user_pref("extensions.webextensions.restrictedDomains", "");
|
||||
|
||||
/****************************************************************************
|
||||
* SECTION: START-UP / NEW TAB PAGE *
|
||||
****************************************************************************/
|
||||
|
||||
// PREF: Allow Firefox to use userChome, userContent, etc.
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
|
||||
// PREF: Set START page (0=blank, 1=home, 2=last visited page, 3=resume previous session)
|
||||
user_pref("browser.startup.page", 3);
|
||||
|
||||
// PREF: Unclutter the new tab page
|
||||
user_pref("browser.library.activity-stream.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
||||
user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
||||
user_pref("browser.newtabpage.activity-stream.pocketCta", "");
|
||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
|
||||
user_pref("browser.newtabpage.enhanced", false);
|
||||
user_pref("browser.newtabpage.introShown", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "");
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: DISABLE POCKET EXTENSION *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Completely remove Pocket from Firefox
|
||||
user_pref("extensions.pocket.api"," ");
|
||||
user_pref("extensions.pocket.enabled", false);
|
||||
user_pref("extensions.pocket.oAuthConsumerKey", " ");
|
||||
user_pref("extensions.pocket.site", " ");
|
||||
user_pref("browser.toolbarbuttons.introduced.pocket-button", false);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: DOWNLOADS *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Choose download location
|
||||
// SETTING: To set your default "downloads": General>Downloads>Save files to
|
||||
// 0=desktop, 1=downloads (default), 2=last used
|
||||
// user_pref("browser.download.folderList", 1);
|
||||
|
||||
/* Enforce user interaction for security by always asking where to download
|
||||
* On Android this blocks longtapping and saving images
|
||||
* [SETTING] General>Downloads>Always ask you where to save files ***/
|
||||
// PREF: Enforce user interaction for security by always asking where to download
|
||||
// On Android this blocks longtapping and saving images
|
||||
// SETTING: General>Downloads>Always ask you where to save files
|
||||
// user_pref("browser.download.useDownloadDir", false);
|
||||
|
||||
/* Disable adding downloads to the system's "recent documents" list ***/
|
||||
user_pref("browser.download.manager.addToRecentDocs", false); // for privacy or annoyance
|
||||
// PREF: Disable adding downloads to the system's "recent documents" list
|
||||
user_pref("browser.download.manager.addToRecentDocs", false);
|
||||
|
||||
/* Disable hiding mime types (Options>General>Applications) not associated with a plugin ***/
|
||||
// PREF: Disable hiding mime types (Options>General>Applications) not associated with a plugin
|
||||
// default=true
|
||||
user_pref("browser.download.hide_plugins_without_extensions", false);
|
||||
|
||||
/* Autohide download button ***/
|
||||
user_pref("browser.download.autohideButton", true);
|
||||
// PREF: Autohide download button
|
||||
// user_pref("browser.download.autohideButton", true);
|
||||
|
||||
/****************************************************************************
|
||||
* SECTION: WARNINGS *
|
||||
****************************************************************************/
|
||||
|
||||
/** WARNINGS ***/
|
||||
// PREF: Disable Warnings
|
||||
user_pref("browser.tabs.warnOnClose", false);
|
||||
user_pref("browser.tabs.warnOnCloseOtherTabs", false);
|
||||
user_pref("browser.tabs.warnOnOpen", false);
|
||||
@@ -39,102 +107,146 @@ user_pref("full-screen-api.warning.delay", 0); // -1=also works
|
||||
user_pref("full-screen-api.warning.timeout", 0); // -1=also works
|
||||
user_pref("browser.aboutConfig.showWarning", false);
|
||||
|
||||
/****************************************************************************
|
||||
* SECTION: AUTOFILL *
|
||||
****************************************************************************/
|
||||
|
||||
/** DISABLE AUTOFILL ***/
|
||||
/* Not reccommended to use the browser's autofill.
|
||||
* You can use a password manager like Bitwarden for an encrypted, easy-fill alternative ***/
|
||||
// PREF: Disable Autofill
|
||||
// Not recommended to use the browser's innate autofill.
|
||||
// You can use a password manager like Bitwarden for an encrypted,
|
||||
// auto-fill alternative.
|
||||
user_pref("extensions.formautofill.addresses.enabled", false);
|
||||
user_pref("extensions.formautofill.available", "off");
|
||||
user_pref("extensions.formautofill.creditCards.enabled", false);
|
||||
user_pref("extensions.formautofill.heuristics.enabled", false);
|
||||
user_pref("signon.autofillForms", false);
|
||||
user_pref("browser.formfill.enable", false);
|
||||
user_pref("signon.formlessCapture.enabled", false); // security benefit
|
||||
user_pref("signon.rememberSignons", false); // use a password manager
|
||||
|
||||
// PREF: Disable saving passwords
|
||||
user_pref("signon.rememberSignons", false);
|
||||
user_pref("signon.formlessCapture.enabled", false);
|
||||
|
||||
/** DEFAULT DARK MODE ***/
|
||||
/* Dark pages in about:preferences, etc. ***/
|
||||
user_pref("browser.in-content.dark-mode", true);
|
||||
/* Enforce prefers-color-scheme as Dark [FF67+]
|
||||
* 0=light, 1=dark : This overrides your OS value. ***/
|
||||
user_pref("ui.systemUsesDarkTheme", 1); // [HIDDEN PREF]
|
||||
/****************************************************************************
|
||||
* SECTION: ANNOYANCES *
|
||||
****************************************************************************/
|
||||
|
||||
// PREF: Disable default browser check
|
||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||
|
||||
/** OTHER CONFIGS ***/
|
||||
// PREF: Hide parts of the url in the location bar
|
||||
user_pref("browser.urlbar.trimURLs", true);
|
||||
|
||||
/* Set START page (0=blank, 1=home, 2=last visited page, 3=resume previous session) ***/
|
||||
user_pref("browser.startup.page", 3);
|
||||
// PREF: Disable annoying website notifications
|
||||
user_pref("permissions.default.desktop-notification", 2);
|
||||
|
||||
/* Disable backspace action ***/
|
||||
user_pref("browser.backspace_action", 2); // 0=previous page, 1=scroll up, 2=do nothing
|
||||
// PREF: Adjust HTML5 autoplay settings
|
||||
// 0=Allow all, 1=Block non-muted media (default), 5=Block all
|
||||
user_pref("media.autoplay.default", 5);
|
||||
|
||||
/* Leave bookmarks menu open
|
||||
* Useful if you often for opening multiple sites from the bookmark menu ***/
|
||||
user_pref("browser.bookmarks.openInTabClosesMenu", false);
|
||||
// PREF: Disable Reader mode
|
||||
// Firefox will not have to parse webpage for Reader when navigating.
|
||||
// Minimal performance impact.
|
||||
// user_pref("reader.parse-on-load.enabled", false);
|
||||
|
||||
/* Open links targeting new windows in a new tab instead
|
||||
* Pop-up windows are treated like regular tabs
|
||||
* You can still right-click a link and open in a new window ***/
|
||||
// PREF: Disable backspace action
|
||||
// 0=previous page, 1=scroll up, 2=do nothing
|
||||
user_pref("browser.backspace_action", 2);
|
||||
|
||||
// PREF: Disable ALT key toggling the menu bar
|
||||
// user_pref("ui.key.menuAccessKey", 0);
|
||||
|
||||
// PREF: Disable website control over browser right-click context menu
|
||||
// [!] This sometimes results in having two menus displayed.
|
||||
// [NOTE] Shift-Right-Click will always bring up the browser right-click
|
||||
// context menu.
|
||||
user_pref("dom.event.contextmenu.enabled", true);
|
||||
|
||||
// PREF: Long press left-click for right-click context menu
|
||||
// user_pref("ui.click_hold_context_menus", true); // default=false
|
||||
// user_pref("ui.click_hold_context_menus.delay", 500); // default=500
|
||||
|
||||
// PREF: CTRL+TAB cycles tabs in chronological order instead of recently-
|
||||
// used order
|
||||
// user_pref("browser.ctrlTab.recentlyUsedOrder", false);
|
||||
|
||||
// PREF: Show all matches in Findbar
|
||||
user_pref("findbar.highlightAll", true);
|
||||
|
||||
// PREF: Spell-check
|
||||
// 0=none, 1-multi-line, 2=multi-line & single-line
|
||||
user_pref("layout.spellcheckDefault", 2);
|
||||
|
||||
// PREF: Disable Accessibility services
|
||||
user_pref("accessibility.force_disabled", 1);
|
||||
|
||||
// PREF: Limit the number of bookmark backups Firefox keeps
|
||||
user_pref("browser.bookmarks.max_backups", 2);
|
||||
|
||||
// PREF: Allow for more granular control of zoom levels
|
||||
// Especially useful if you want to set your default zoom to a custom level
|
||||
// user_pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,.95,1,1.05,1.1,1.15,1.2,1.25,1.33,1.5,1.7,2,2.4,3");
|
||||
|
||||
// PREF: Hide image placeholders
|
||||
user_pref("browser.display.show_image_placeholders", false);
|
||||
|
||||
// PREF: Wrap long lines of text when using source / debugger
|
||||
user_pref("view_source.wrap_long_lines", true);
|
||||
user_pref("devtools.debugger.ui.editor-wrapping", true);
|
||||
|
||||
// PREF: Disable links launching Windows Store on Windows 8/8.1/10
|
||||
// [WINDOWS-only]
|
||||
// [1] https://www.ghacks.net/2016/03/25/block-firefox-chrome-windows-store/
|
||||
// user_pref("network.protocol-handler.external.ms-windows-store", false);
|
||||
|
||||
/****************************************************************************
|
||||
* SECTION: TAB BEHAVIOR *
|
||||
****************************************************************************/
|
||||
|
||||
// PREF: Control how non-pinned tabs are loaded when a session is restored.
|
||||
// true=Tabs are not loaded until they are selected (default)
|
||||
// false=Tabs begin to load immediately.
|
||||
user_pref("browser.sessionstore.restore_on_demand", true);
|
||||
|
||||
// PREF: Control behavior of links that would normally open in a new window.
|
||||
// 1=Open in the current tab/window
|
||||
// 2=Open in a new window
|
||||
// 3=Open in a new tab in the current window (default)
|
||||
user_pref("browser.link.open_newwindow", 3);
|
||||
|
||||
// PREF: This preference overrides <browser.link.open_newwindow> for external
|
||||
// links. Set if a different destination for external links is needed.
|
||||
// -1=no overrides (default)
|
||||
// 1=Open in the current tab/window
|
||||
// 2=Open in a new window
|
||||
// 3=Open in a new tab in the current window
|
||||
// user_pref("browser.link.open_newwindow.override.external", -1);
|
||||
|
||||
// PREF: Open links targeting new windows in a new tab instead
|
||||
// Pop-up windows are treated like regular tabs
|
||||
// You can still right-click a link and open in a new window
|
||||
user_pref("browser.link.open_newwindow", 3);
|
||||
user_pref("browser.link.open_newwindow.restriction", 0);
|
||||
|
||||
/* Disable website notification by default ***/
|
||||
user_pref("permissions.default.desktop-notification", 2);
|
||||
|
||||
/* Insert tab immediately after the current tab
|
||||
* Tap to Tab extension: set to "Put new tab at the end"
|
||||
* extension: https://addons.mozilla.org/en-US/firefox/addon/tap-to-tab ***/
|
||||
// PREF: Insert tab immediately after the current tab
|
||||
// Tap to Tab extension: set to "Put new tab at the end"
|
||||
// extension: https://addons.mozilla.org/en-US/firefox/addon/tap-to-tab
|
||||
// user_pref("browser.tabs.insertRelatedAfterCurrent", true); // default=true
|
||||
// user_pref("browser.tabs.insertAfterCurrent", true);
|
||||
// user_pref("browser.tabs.insertRelatedAfterCurrent", false);
|
||||
// user_pref("browser.ctrlTab.recentlyUsedOrder", false); // chronological order
|
||||
|
||||
// PREF: Leave the browser window open even after you close the last tab
|
||||
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||
|
||||
/** MISC. **/
|
||||
// PREF: Leave bookmarks menu open when selecting a site
|
||||
user_pref("browser.bookmarks.openInTabClosesMenu", false);
|
||||
|
||||
// PREF: Load bookmarks in the background using Bookmarks Menu
|
||||
user_pref("browser.tabs.loadBookmarksInBackground", true);
|
||||
user_pref("browser.tabs.loadBookmarksInTabs", true);
|
||||
user_pref("browser.tabs.tabMinWidth", 100); // default=76, adjust to preference
|
||||
user_pref("devtools.debugger.ui.editor-wrapping", true);
|
||||
user_pref("media.autoplay.default", 1); // 0=Allow all, 1=Block non-muted media (default), 5=Block all
|
||||
user_pref("toolkit.zoomManager.zoomValues", ".8,.9,.95,1,1.05,1.1,1,15,1.2,1.33,1.5,1.7,2,2.4"); // more controlled zooming experience
|
||||
user_pref("view_source.wrap_long_lines", true);
|
||||
user_pref("config.trim_on_minimize", true); // [WINDOWS-ONLY] saves memory when FF is minimized
|
||||
user_pref("layout.spellcheckDefault", 2);
|
||||
user_pref("browser.urlbar.decodeURLsOnCopy", true); // see bugzilla 1320061
|
||||
/* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1320061 ***/
|
||||
user_pref("middlemouse.scrollbarPosition", true);
|
||||
user_pref("ui.key.menuAccessKey", 0);
|
||||
user_pref("accessibility.force_disabled", 1);
|
||||
user_pref("browser.bookmarks.max_backups", 2);
|
||||
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||
user_pref("browser.urlbar.trimURLs", true);
|
||||
user_pref("extensions.getAddons.cache.enabled", false);
|
||||
user_pref("extensions.getAddons.showPane", false);
|
||||
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
|
||||
// PREF: Show Picture-in-Picture (PiP) flyout
|
||||
user_pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
|
||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true);
|
||||
|
||||
/** NEW TAB PAGE CLEANUP ***/
|
||||
user_pref("browser.library.activity-stream.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
||||
user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.topsites", false);
|
||||
user_pref("browser.newtabpage.activity-stream.pocketCta", " ");
|
||||
user_pref("browser.newtabpage.enhanced", false);
|
||||
user_pref("browser.newtabpage.introShown", false);
|
||||
|
||||
/** DISABLE POCKET ***/
|
||||
user_pref("extensions.pocket.api", " ");
|
||||
user_pref("extensions.pocket.enabled", false);
|
||||
user_pref("extensions.pocket.oAuthConsumerKey", " ");
|
||||
user_pref("extensions.pocket.site", " ");
|
||||
user_pref("browser.toolbarbuttons.introduced.pocket-button", false);
|
||||
|
||||
|
||||
/* OPTIONAL ***/
|
||||
// user_pref("dom.event.contextmenu.enabled", false);
|
||||
// user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||
// PREF: Adjust the minimum tab width
|
||||
// [!] Can be overridden by userChrome.css.
|
||||
// user_pref("browser.tabs.tabMinWidth", 100); // default=76
|
||||
@@ -12,18 +12,18 @@ about:config tweaks to enhance [Mozilla Firefox](https://www.mozilla.org/en-US/f
|
||||
|
||||
| List | Description |
|
||||
|:---------:|-------------|
|
||||
| [Fastfox](https://raw.githubusercontent.com/yokoffing/Better-Fox/master/FastFox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
|
||||
| [PeskyFox](https://raw.githubusercontent.com/yokoffing/Better-Fox/master/PeskyFox.js) | Unclutter the new tab page. Remove Pocket and form autofill. Prevent Firefox from serving annoying webpage notifications.|
|
||||
| [SmoothFox](https://raw.githubusercontent.com/yokoffing/Better-Fox/master/SmoothFox.js) | Get Microsoft Edge-like smooth scrolling on your favorite browser|
|
||||
| [SecureFox](https://raw.githubusercontent.com/yokoffing/Better-Fox/master/SecureFox.js) | Remove Telemetry, Mozilla experiments, Google Safe Browsing, and search engine suggestions in URL bar. Auto-upgrade mixed content to HTTPS. Add various privacy enhancements — all without breaking webpages. You read that right. No breakage 😁 |
|
||||
| [user.js](https://raw.githubusercontent.com/yokoffing/Better-Fox/master/user.js) | Unified list. |
|
||||
| [Fastfox](https://github.com/yokoffing/Better-Fox/blob/master/FastFox.js) | Immensely increase Firefox's browsing speed. Give Chrome a run for its money!|
|
||||
| [PeskyFox](https://github.com/yokoffing/Better-Fox/blob/master/PeskyFox.js) | Unclutter the new tab page. Remove Pocket and form autofill. Prevent Firefox from serving annoying webpage notifications.|
|
||||
| [SmoothFox](https://github.com/yokoffing/Better-Fox/blob/master/SmoothFox.js) | Get Microsoft Edge-like smooth scrolling on your favorite browser|
|
||||
| [SecureFox](https://github.com/yokoffing/Better-Fox/blob/master/SecureFox.js) | Remove Telemetry, Mozilla experiments, Google Safe Browsing, and search engine suggestions in URL bar. Auto-upgrade mixed content to HTTPS. Add various privacy enhancements — all without breaking webpages. You read that right. No breakage 😁 |
|
||||
| [user.js](https://github.com/yokoffing/Better-Fox/blob/master/user.js) | Unified list, minus some of my personal preferences. Users may download this list as their own user.js. |
|
||||
|
||||
## Who is this setup for?
|
||||
**If you want a secure, blazing fast browsing experience, and don't want to deal with breakage, this setup is for you.** My objective is to make the defaults sufficient enough for the average privacy-minded user, but remain trouble-free enough that my grandmother could use it. <strike>(That puts a whole new twist on being a foxy grandma!)</strike> Edit: Sorry for the dad joke 😓
|
||||
|
||||
|
||||
## about:Privacy
|
||||
**A note to hardcore privacy users:** I made [SecureFox](https://github.com/yokoffing/Better-Fox/blob/master/SecureFox.js) as private as I could, up to the point of experiencing breakage. My guiding principle was: "If it breaks it, it doesn't make it!" So things like WebGL and DRM are still enabled, and you won't find settings like 'privacy.firstparty.isolate' or 'network.http.referer.XOriginPolicy' mentioned here. BetterFox is designed to set-and-forget, not to troubleshoot and tinker. [You can compare different user.js files here](https://yokoffing.github.io/compare-user.js/).
|
||||
**A note to hardcore privacy users:** I made [SecureFox](https://github.com/yokoffing/Better-Fox/blob/master/SecureFox.js) as private as I could, up to the point of experiencing breakage. My guiding principle was: "If it breaks it, it doesn't make it!" So things like WebGL and DRM are still enabled, and you won't find settings like `privacy.firstparty.isolate` or `network.http.referer.XOriginPolicy` mentioned here. BetterFox is designed to set-and-forget, not to troubleshoot and tinker. You can [compare different user.js files here](https://yokoffing.github.io/compare-user.js/).
|
||||
|
||||
TL;DR: If your threat level calls for anonymity and not just reasonable privacy, please use the [TOR browser](https://www.torproject.org). 👍
|
||||
|
||||
@@ -33,6 +33,8 @@ TL;DR: If your threat level calls for anonymity and not just reasonable privacy,
|
||||
|
||||
Add the custom list [dbl.oisd.nl](https://abp.oisd.nl/) for the best in-browser protection. It's most comprehensive, unified domain blocklist available, actively maintained to prevent false positives and to keep the web usable! Use it alongside your usual lists. [Read More](https://www.reddit.com/r/oisd_blocklist/comments/dwxgld/dbloisdnl_internets_1_domain_blocklist/?sort=new) [[DNS format](https://dbl.oisd.nl) | [ABP format](https://abp.oisd.nl)]
|
||||
|
||||
MultiAccount Containers : essential privacy for anyone enabling third-party cookies.
|
||||
|
||||
2. **[Bitwarden](https://addons.mozilla.org/en-US/firefox/addon/bitwarden-password-manager)**: encrypted password manager.
|
||||
|
||||
3. **[ClearURLs](https://addons.mozilla.org/en-US/firefox/addon/clearurls)**: clean tracking parameters from URLs, Google searches, etc.
|
||||
@@ -43,4 +45,4 @@ TL;DR: If your threat level calls for anonymity and not just reasonable privacy,
|
||||
|
||||
|
||||
## Credit
|
||||
Hours spent reviewing, condensing, and testing [ghacks user.js](https://github.com/ghacksuserjs/ghacks-user.js), about:config suggestions from websites and blogs, and keeping up with [Mozilla updates](https://wiki.mozilla.org/Firefox/Roadmap/Updates). (Where there is similiarity to ghacks or other authors, credit goes to them.)
|
||||
Hours spent reviewing, condensing, and testing [ghacks user.js](https://github.com/ghacksuserjs/ghacks-user.js), about:config suggestions from websites and blogs, and keeping up with [Mozilla updates](https://wiki.mozilla.org/Firefox/Roadmap/Updates). (Where there is similiarity to other authors, credit goes to them.)
|
||||
|
||||
+297
-107
@@ -1,33 +1,247 @@
|
||||
/******
|
||||
//
|
||||
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
|
||||
*
|
||||
* If you make changes to your about:config while the program is running, the
|
||||
* changes will be overwritten when the application restarts.
|
||||
*
|
||||
* To make a change to preferences, you will have to edit the user.js file.
|
||||
*/
|
||||
|
||||
* name: SecureFox
|
||||
* description: Immensely increase FF's security and privacy. Should not cause breakage.
|
||||
* date: 24 March 2020
|
||||
* version 74
|
||||
* author: hjs
|
||||
* url: https://github.com/hjstephens09/Better-Fox
|
||||
* license: MIT: https://github.com/hjstephens09/Better-Fox/blob/master/LICENSE
|
||||
/****************************************************************************
|
||||
* SecureFox *
|
||||
* "Natura non constristatur." *
|
||||
* priority: increase security and privacy without causing site breakage *
|
||||
* version: 31 March 2020 *
|
||||
* url: https://github.com/yokoffing/Better-Fox *
|
||||
****************************************************************************/
|
||||
|
||||
******/
|
||||
/****************************************************************************
|
||||
* SECTION: TRACKING PROTECTION *
|
||||
****************************************************************************/
|
||||
|
||||
// PREF: Enable complete Tracking Protection in Private Browsing mode
|
||||
user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
||||
|
||||
// Block third-party cookies
|
||||
/* I recommended you block all third-party cookies as it is essential for ad companies to not track you.
|
||||
* Blocking all third-party cookies greatly enhances your privacy! Firefox only filters some of these by default.
|
||||
* [NOTE] I have set this to 3 for now since some site features will not function properly without third-party cookies.
|
||||
* Change to 1 if you're okay encountering some minor breakage.
|
||||
* 1=disable third-party cookies, 3=blocks from unvisited websites, 4=block cross site and social media trackers (default) ***/
|
||||
user_pref("network.cookie.cookieBehavior", 3);
|
||||
// PREF: Disable Tracking Protection for regular windows
|
||||
// ALTERNATIVE: Allow uBlock Origin protect against social tracking instead.
|
||||
// There is no exception with Firefox's Tracking Protection to allow certain
|
||||
// content (i.e. Twitter's embedded tweets on articles).
|
||||
// user_pref("privacy.trackingprotection.enabled", false);
|
||||
// user_pref("privacy.trackingprotection.socialtracking.enabled", false);
|
||||
|
||||
// PREF: Regardless, Firefox will continue to block cryptominers, fingerprinters, etc.
|
||||
user_pref("privacy.socialtracking.block_cookies.enabled", true);
|
||||
user_pref("privacy.trackingprotection.cryptomining.enabled", true);
|
||||
user_pref("privacy.trackingprotection.fingerprinting.enabled", true);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: COOKIES / CACHE *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Third-party cookies
|
||||
// I recommended you block all third-party cookies as it is essential for ad
|
||||
// companies, Google, random websites, etc. to not track you. If you're uncomfortable
|
||||
// with providing exceptions or encountering rare site issues, alter this value.
|
||||
// 1=disable third-party cookies, 3=blocks from unvisited websites,
|
||||
// 4=block cross site and social media trackers (default)
|
||||
user_pref("network.cookie.cookieBehavior", 1);
|
||||
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
|
||||
/* Regardless, we will limit third-party cookies even when they are allowed ***/
|
||||
|
||||
// PREF: Limit third-party cookies to the current session even when they are allowed
|
||||
user_pref("network.cookie.thirdparty.sessionOnly", true);
|
||||
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true);
|
||||
|
||||
/*** GOOGLE SAFE BROWSING ***/
|
||||
// [WARNING] Do this at your own risk! Increased privacy from Google, but less protection against threats.
|
||||
// In disabling this, please have an alternative to phishing and malware protection!
|
||||
// [1] https://www.wikiwand.com/en/Google_Safe_Browsing#/Privacy
|
||||
// [2] https://ashkansoltani.org/2012/02/25/cookies-from-nowhere
|
||||
// PREF: Delete all cookies after a certain period of time
|
||||
// Alternative: use a cookie manager extension
|
||||
// user_pref("network.cookie.lifetimePolicy", 3);
|
||||
// user_pref("network.cookie.lifetime.days", 5);
|
||||
|
||||
// PREF: Disable offline cache to limit tracking
|
||||
user_pref("browser.cache.offline.enable", false);
|
||||
|
||||
// PREF: Disable all speculative connections
|
||||
// Prefetching causes cookies from the prefetched site to be loaded and other potentially unwanted behavior.
|
||||
// [1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Link_prefetching_FAQ
|
||||
// [2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control
|
||||
user_pref("network.dns.disablePrefetch", true);
|
||||
user_pref("network.dns.disablePrefetchFromHTTPS", true);
|
||||
user_pref("network.prefetch-next", false);
|
||||
user_pref("network.predictor.enabled", false);
|
||||
user_pref("network.predictor.enable-prefetch", false);
|
||||
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||
user_pref("browser.urlbar.usepreloadedtopurls.enabled", false);
|
||||
user_pref("network.http.speculative-parallel-limit", 0);
|
||||
user_pref("browser.newtab.preload", false);
|
||||
|
||||
// PREF: Disable "Hyperlink Auditing" (click tracking) and enforce same host in case
|
||||
user_pref("browser.send_pings", false);
|
||||
user_pref("browser.send_pings.require_same_host", true);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: SEARCH / URL BAR *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Enable a seperate search engine for Private Windows
|
||||
// Remember to go into Preferences -> Search and select another search provider (like DuckDuckGo)
|
||||
user_pref("browser.search.separatePrivateDefault", true);
|
||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||
|
||||
// PREF: Disable live search engine suggestions (Google, Bing, etc.)
|
||||
// [!] Search engines keylog every character you type from the URL bar
|
||||
user_pref("browser.search.suggest.enabled", false);
|
||||
user_pref("browser.search.suggest.enabled.private", false);
|
||||
|
||||
// PREF: Turn off all URL bar suggestions (bookmarks, history, open tabs)
|
||||
// user_pref("browser.urlbar.suggest.searches", false);
|
||||
// user_pref("browser.urlbar.suggest.history", false);
|
||||
// user_pref("browser.urlbar.suggest.bookmark", false);
|
||||
// user_pref("browser.urlbar.suggest.openpage", false);
|
||||
|
||||
// PREF: Disable location bar dropdown
|
||||
// This value controls the total number of entries to appear in the location bar dropdown.
|
||||
// [NOTE] Items (bookmarks/history/openpages) with a high "frecency"/"bonus" will always
|
||||
// be displayed (no we do not know how these are calculated or what the threshold is),
|
||||
// and this does not affect the search by search engine suggestion.
|
||||
// [NOTE] This setting is only useful if you want to enable search engine keywords
|
||||
// (i.e. at least one of 0850a suggestion types must be true) but you want to limit suggestions shown
|
||||
// default=10, disable=0
|
||||
// user_pref("browser.urlbar.maxRichResults", 2);
|
||||
|
||||
// PREF: Disable location bar domain guessing
|
||||
// Domain guessing intercepts DNS "hostname not found errors" and resends a
|
||||
// request (e.g. by adding www or .com). This is inconsistent use (e.g. FQDNs), does not work
|
||||
// via Proxy Servers (different error), is a flawed use of DNS (TLDs: why treat .com
|
||||
// as the 411 for DNS errors?), privacy issues (why connect to sites you didn't
|
||||
// intend to), can leak sensitive data (e.g. query strings: e.g. Princeton attack),
|
||||
// and is a security risk (e.g. common typos & malicious sites set up to exploit this)
|
||||
user_pref("browser.fixup.alternate.enabled", false);
|
||||
user_pref("browser.fixup.typo.scheme", false);
|
||||
|
||||
// PREF: Disable location bar autofill
|
||||
// https://support.mozilla.org/en-US/kb/address-bar-autocomplete-firefox#w_url-autocomplete
|
||||
// user_pref("browser.urlbar.autoFill", false);
|
||||
|
||||
// PREF: Hide different search provider icons in the URL dropdown
|
||||
user_pref("browser.urlbar.oneOffSearches", true);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: DNS-over-HTTPS *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Enable DNS-over-HTTPS
|
||||
// https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
|
||||
// https://www.internetsociety.org/blog/2018/12/dns-privacy-support-in-mozilla-firefox/
|
||||
// 0=off, 2=TRR preferred, 5=TRR disabled
|
||||
user_pref("network.trr.mode", 2);
|
||||
|
||||
// PREF: Enable ESNI
|
||||
// This prevents others from intercepting the TLS SNI extension and using it
|
||||
// to determine what websites you are browsing.
|
||||
// [1] https://www.eff.org/deeplinks/2018/09/esni-privacy-protecting-upgrade-https/
|
||||
user_pref("network.security.esni.enabled", true);
|
||||
|
||||
// PREF: Force FF to always use your custom DNS resolver
|
||||
// You will type between the "" for both prefs.
|
||||
// I recommend creating your own URI with NextDNS for both privacy and security
|
||||
// [1] https://nextdns.io
|
||||
// user_pref("network.trr.uri", "");
|
||||
// user_pref("network.trr.custom_uri", "");
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: MIXED CONTENT *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Disable insecure active content on HTTPS pages
|
||||
// https://trac.torproject.org/projects/tor/ticket/21323
|
||||
user_pref("security.mixed_content.block_active_content", true);
|
||||
|
||||
// PREF: Disable insecure passive content (such as images) on HTTPS pages
|
||||
// Attempt to upgrade them to HTTPS.
|
||||
user_pref("security.mixed_content.block_display_content", true);
|
||||
user_pref("security.mixed_content.upgrade_display_content", true);
|
||||
|
||||
// PREF: Block unencrypted requests from Flash on encrypted pages to mitigate MitM attacks
|
||||
// https://bugzilla.mozilla.org/1190623
|
||||
user_pref("security.mixed_content.block_object_subrequest", true);
|
||||
|
||||
// PREF: Limit (or disable) HTTP authentication credentials dialogs triggered by sub-resources
|
||||
// Hardens against potential credentials phishing.
|
||||
// [1] https://www.fxsitecompat.com/en-CA/docs/2015/http-auth-dialog-can-no-longer-be-triggered-by-cross-origin-resources/
|
||||
// 0=don't allow sub-resources to open HTTP authentication credentials dialogs
|
||||
// 1=don't allow cross-origin sub-resources to open HTTP authentication credentials dialogs
|
||||
// 2=allow sub-resources to open HTTP authentication credentials dialogs (default)
|
||||
user_pref("network.auth.subresource-http-auth-allow", 1);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: VARIOUS SECURITY/PRIVACY ENHANCEMENTS *
|
||||
******************************************************************************/
|
||||
|
||||
// 1030: disable favicons in shortcuts
|
||||
// URL shortcuts use a cached randomly named .ico file which is stored in your
|
||||
// profile/shortcutCache directory. The .ico remains after the shortcut is deleted.
|
||||
// If set to false then the shortcuts use a generic Firefox icon
|
||||
// user_pref("browser.shell.shortcutFavicons", false);
|
||||
|
||||
// PREF: Disable sending additional analytics to web servers
|
||||
// https://developer.mozilla.org/docs/Web/API/Navigator/sendBeacon
|
||||
user_pref("beacon.enabled", false);
|
||||
|
||||
// PREF: Do not track battery status
|
||||
user_pref("dom.battery.enabled", false);
|
||||
|
||||
// PREF: Enable (limited but sufficient) window.opener protection
|
||||
// Makes rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set
|
||||
// [1] https://jakearchibald.com/2016/performance-benefits-of-rel-noopener/
|
||||
user_pref("dom.targetBlankNoOpener.enabled", true);
|
||||
|
||||
// PREF: Disable FTP protocol
|
||||
// Firefox redirects any attempt to load a FTP resource to the default search engine if the FTP protocol is disabled.
|
||||
// [1] https://www.ghacks.net/2018/02/20/firefox-60-with-new-preference-to-disable-ftp/
|
||||
user_pref("network.ftp.enabled", false);
|
||||
|
||||
// PREF: Enforce Punycode for Internationalized Domain Names to eliminate possible spoofing
|
||||
// Firefox has some protections, but it is better to be safe than sorry.
|
||||
// [!] Might be undesirable for non-latin alphabet users since legitimate IDN's are also punycoded.
|
||||
// [TEST] https://www.xn--80ak6aa92e.com/ (www.apple.com)
|
||||
// [1] https://wiki.mozilla.org/IDN_Display_Algorithm
|
||||
// [2] https://en.wikipedia.org/wiki/IDN_homograph_attack
|
||||
// [3] CVE-2017-5383: https://www.mozilla.org/security/advisories/mfsa2017-02/
|
||||
// [4] https://www.xudongz.com/blog/2017/idn-phishing/
|
||||
user_pref("network.IDN_show_punycode", true);
|
||||
|
||||
// PREF: Decode URLs in other languages
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1320061
|
||||
user_pref("browser.urlbar.decodeURLsOnCopy", true);
|
||||
|
||||
// PREF: When webGL is enabled, do not expose information about the graphics driver
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1171228
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info
|
||||
user_pref("webgl.enable-debug-renderer-info", false);
|
||||
|
||||
// PREF: WebGL
|
||||
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
|
||||
|
||||
// PREF: Enforce Firefox's built-in PDF reader
|
||||
// This setting controls if the option "Display in Firefox" is available in the setting below
|
||||
// and by effect controls whether PDFs are handled in-browser or externally ("Ask" or "Open With").
|
||||
// default=false
|
||||
user_pref("pdfjs.disabled", false);
|
||||
|
||||
// PREF: Disable Windows jumplist [WINDOWS-only]
|
||||
// user_pref("browser.taskbar.lists.enabled", false);
|
||||
// user_pref("browser.taskbar.lists.frequent.enabled", false);
|
||||
// user_pref("browser.taskbar.lists.recent.enabled", false);
|
||||
// user_pref("browser.taskbar.lists.tasks.enabled", false);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: GOOGLE *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Disable Google Safe Browsing
|
||||
// ! Please have alternative phishing and malware protection before you uncomment prefs.
|
||||
// Increased privacy away from Google, but less protection against threats.
|
||||
// 1 https://www.wikiwand.com/en/Google_Safe_Browsing#/Privacy
|
||||
// 2 https://ashkansoltani.org/2012/02/25/cookies-from-nowhere
|
||||
user_pref("browser.safebrowsing.allowOverride", true);
|
||||
user_pref("browser.safebrowsing.appRepURL", "");
|
||||
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
||||
@@ -40,34 +254,27 @@ user_pref("browser.safebrowsing.enabled", false);
|
||||
user_pref("browser.safebrowsing.malware.enabled", false);
|
||||
user_pref("browser.safebrowsing.phishing.enabled", false);
|
||||
|
||||
|
||||
/*** MOZILLA ***/
|
||||
|
||||
/** SEARCH ***/
|
||||
/* Enable a seperate Private Search Engine
|
||||
* Remember to go into Preferences -> Search and select another search provider ***/
|
||||
user_pref("browser.search.separatePrivateDefault", true);
|
||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||
/* Search Suggestions turned off
|
||||
* Search engines keylog every character you type ***/
|
||||
user_pref("browser.search.suggest.enabled", false);
|
||||
user_pref("browser.search.suggest.enabled.private", false);
|
||||
// user_pref("browser.urlbar.suggest.searches", false);
|
||||
// user_pref("browser.urlbar.oneOffSearches", false);
|
||||
/** Geolocation ***/
|
||||
user_pref("permissions.default.geo", 0); // 0=default, always ask
|
||||
/* Use Mozilla geolocation service instead of Google when geolocation is enabled ***/
|
||||
// PREF: Use Mozilla geolocation service instead of Google when geolocation is enabled
|
||||
user_pref("permissions.default.geo", 0);
|
||||
user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
||||
|
||||
/* EXT. BLOCKLIST ***/
|
||||
/* 0401: enforce Firefox blocklist, but sanitize blocklist url
|
||||
* It includes updates for "revoked certificates"
|
||||
* [1] https://blog.mozilla.org/security/2015/03/03/revoking-intermediate-certificates-introducing-onecrl/
|
||||
* [2] https://trac.torproject.org/projects/tor/ticket/16931 ***/
|
||||
user_pref("extensions.blocklist.enabled", true); // [DEFAULT: true]
|
||||
/******************************************************************************
|
||||
* SECTION: MOZILLA *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Enforce Firefox blocklist for extensions, but sanitize blocklist url
|
||||
// This includes updates for "revoked certificates"
|
||||
// [1] https://blog.mozilla.org/security/2015/03/03/revoking-intermediate-certificates-introducing-onecrl/
|
||||
// [2] https://trac.torproject.org/projects/tor/ticket/16931
|
||||
user_pref("extensions.blocklist.enabled", true);
|
||||
user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/");
|
||||
|
||||
/* MOZILLA TELEMTRY, DATA COLLECTION, EXPERIMENTS */
|
||||
// PREF: Disable extension metadata
|
||||
// Used when installing/updating an extension, and in daily background update checks.
|
||||
// When false, extension detail tabs will have no description.
|
||||
// user_pref("extensions.getAddons.cache.enabled", false);
|
||||
|
||||
// PREF: Disable all Mozilla telemetry, data collection, experiments, phoning home, etc.
|
||||
user_pref("app.normandy.api_url", "");
|
||||
user_pref("app.normandy.enabled", false);
|
||||
user_pref("app.shield.optoutstudies.enabled", false);
|
||||
@@ -78,16 +285,14 @@ user_pref("browser.crashReports.unsubmittedCheck.enabled", false);
|
||||
user_pref("browser.disableResetPrompt", true);
|
||||
user_pref("browser.discovery.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
||||
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
|
||||
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||
user_pref("browser.ping-centre.telemetry", false);
|
||||
user_pref("browser.search.update", false);
|
||||
user_pref("browser.selfsupport.url", "");
|
||||
user_pref("browser.send_pings.require_same_host", true);
|
||||
user_pref("browser.send_pings", false);
|
||||
user_pref("browser.startup.homepage_override.mstone", "ignore");
|
||||
user_pref("browser.tabs.crashReporting.sendReport", false);
|
||||
user_pref("browser.uitour.enabled", false);
|
||||
user_pref("browser.uitour.url", "");
|
||||
user_pref("datareporting.healthreport.uploadEnabled", false);
|
||||
user_pref("datareporting.policy.dataSubmissionEnabled", false);
|
||||
user_pref("datareporting.sessions.current.clean", true);
|
||||
@@ -96,90 +301,75 @@ user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
||||
user_pref("dom.ipc.plugins.reportCrashURL", false);
|
||||
user_pref("dom.push.enabled", false);
|
||||
user_pref("dom.push.userAgentID", "");
|
||||
user_pref("experiments.activeExperiment", false);
|
||||
user_pref("experiments.enabled", false);
|
||||
user_pref("experiments.manifest.uri", "");
|
||||
user_pref("experiments.supported", false);
|
||||
user_pref("extensions.getAddons.cache.enabled", false);
|
||||
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
|
||||
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
||||
user_pref("extensions.webcompat-reporter.enabled", false);
|
||||
user_pref("extensions.webservice.discoverURL", "");
|
||||
user_pref("network.allow-experiments", false);
|
||||
user_pref("security.ssl.errorReporting.automatic", false);
|
||||
user_pref("security.ssl.errorReporting.enabled", false);
|
||||
user_pref("security.ssl.errorReporting.url", "");
|
||||
user_pref("startup.homepage_welcome_url.additional", "");
|
||||
user_pref("toolkit.coverage.enabled", false);
|
||||
user_pref("toolkit.coverage.endpoint.base", "");
|
||||
user_pref("toolkit.coverage.opt-out", true);
|
||||
user_pref("toolkit.telemetry.archive.enabled", false);
|
||||
user_pref("toolkit.telemetry.bhrPing.enabled", false);
|
||||
user_pref("toolkit.telemetry.cachedClientID", "");
|
||||
user_pref("toolkit.telemetry.coverage.opt-out", true);
|
||||
user_pref("toolkit.telemetry.enabled", false);
|
||||
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
|
||||
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
|
||||
user_pref("toolkit.telemetry.prompted", 2);
|
||||
user_pref("toolkit.telemetry.rejected", true);
|
||||
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||
user_pref("toolkit.telemetry.server", "");
|
||||
user_pref("toolkit.telemetry.server", "data:,");
|
||||
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
|
||||
user_pref("toolkit.telemetry.unified", false);
|
||||
user_pref("toolkit.telemetry.unifiedIsOptIn", false);
|
||||
user_pref("toolkit.telemetry.updatePing.enabled", false);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: VPN specific *
|
||||
******************************************************************************/
|
||||
|
||||
/** Configure DNS-over-HTTPS ***/
|
||||
/* Enter custom DNS Resolver
|
||||
* 0=off, 2=TRR preferred, 5=TRR disabled ***/
|
||||
user_pref("network.trr.mode", 2);
|
||||
// user_pref("network.trr.uri", "");
|
||||
// user_pref("network.trr.custom_uri", "");
|
||||
user_pref("network.security.esni.enabled", true);
|
||||
|
||||
|
||||
/** MISC. ***/
|
||||
user_pref("beacon.enabled", false);
|
||||
user_pref("browser.cache.offline.enable", false);
|
||||
user_pref("browser.fixup.alternate.enabled", false);
|
||||
user_pref("browser.fixup.typo.scheme", false);
|
||||
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||
user_pref("dom.battery.enabled", false);
|
||||
user_pref("dom.targetBlankNoOpener.enabled", true);
|
||||
user_pref("media.video_stats.enabled", false);
|
||||
// user_pref("media.navigator.enabled", false); // breakage?
|
||||
user_pref("network.auth.subresource-http-auth-allow", 1);
|
||||
user_pref("network.dns.disablePrefetch", true);
|
||||
user_pref("network.ftp.enabled", false);
|
||||
user_pref("network.http.referer.defaultPolicy.trackers", 2);
|
||||
user_pref("network.http.referer.defaultPolicy", 2); // default=3
|
||||
user_pref("network.http.speculative-parallel-limit", 0);
|
||||
user_pref("network.IDN_show_punycode", true);
|
||||
user_pref("network.prefetch-next", false);
|
||||
user_pref("privacy.donottrackheader.enabled", true);
|
||||
user_pref("privacy.donottrackheader.value", 1);
|
||||
user_pref("security.mixed_content.block_active_content", true);
|
||||
user_pref("security.mixed_content.block_display_content", true);
|
||||
user_pref("security.mixed_content.block_object_subrequest", true);
|
||||
user_pref("security.mixed_content.upgrade_display_content", true);
|
||||
// user_pref("privacy.trackingprotection.enabled", true);
|
||||
// user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
||||
|
||||
|
||||
/** OPT ***/
|
||||
/* Delete cookies after a certain period of time ***/
|
||||
// user_pref("network.cookie.lifetime.days", 5);
|
||||
// user_pref("network.cookie.lifetimePolicy", 3);
|
||||
|
||||
/* Turn off IPv6 when using a VPN ***/
|
||||
// PREF: Turn off IPv6
|
||||
// IPv6 can leak your real IP address when using a VPN
|
||||
// [1] [find source]
|
||||
// user_pref("network.dns.disableIPv6", true);
|
||||
// user_pref("network.notify.IPv6", false);
|
||||
|
||||
/* Nightly only ***/
|
||||
//user_pref("fission.autostart", true);
|
||||
/****************************************************************************
|
||||
* SECTION: FIREFOX 75 *
|
||||
****************************************************************************/
|
||||
|
||||
// PREF: Purge site data of sites associated with tracking cookies automatically
|
||||
// Identify sites that set tracking cookies, remove those cookies (and other site data)
|
||||
// if the site has not been interacted with in 30 days.
|
||||
// https://www.ghacks.net/2020/03/04/firefox-75-will-purge-site-data-if-associated-with-tracking-cookies/
|
||||
// user_pref("privacy.purge_trackers.enabled", true);
|
||||
// user_pref("privacy.purge_trackers.logging.enabled", false);
|
||||
// user_pref("privacy.purge_trackers.max_purge_count", 100); // default=100
|
||||
//user_pref("dom.security.https_only_mode", true); // may cause breakage
|
||||
|
||||
// PREF: Samesite Cookies
|
||||
// Samesite=Lax
|
||||
// [1] https://www.jardinesoftware.net/2019/10/28/samesite-by-default-in-2020/
|
||||
// user_pref("network.cookie.sameSite.laxByDefault", true); // default=false
|
||||
// user_pref("network.cookie.sameSite.noneRequiresSecure", false); default=false
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: FIREFOX 76 *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Allow HTTPS-only connections
|
||||
// There is currently no way to relax this setting browser-side to make an exception.
|
||||
// https://www.ghacks.net/2020/03/24/firefox-76-gets-optional-https-only-mode
|
||||
// Alternative: HTTPZ extension https://addons.mozilla.org/en-US/firefox/addon/httpz/
|
||||
// user_pref("dom.security.https_only_mode", true);
|
||||
|
||||
// PREF: Alert when using a breached password
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1569848
|
||||
user_pref("signon.management.page.vulnerable-passwords.enabled", true);
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: NIGHTLY-ONLY *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Project Fisson
|
||||
// A new process model that enables full site isolation
|
||||
// user_pref("fission.autostart", true);
|
||||
|
||||
+15
-13
@@ -1,16 +1,23 @@
|
||||
//
|
||||
/******************************************************************************
|
||||
/* Do not COPY+PASTE this file. If you do, only COPY+PASTE the user_pref itself.
|
||||
*
|
||||
* If you make changes to your about:config while the program is running, the
|
||||
* changes will be overwritten when the application restarts.
|
||||
*
|
||||
* To make a change to preferences, you will have to edit the user.js file.
|
||||
*/
|
||||
|
||||
/****************************************************************************
|
||||
* SmoothFox *
|
||||
* priority: smooth scrolling
|
||||
* version: 25 March 2020 *
|
||||
* "Faber est suae quisque fortunae." *
|
||||
* priority: smooth scrolling *
|
||||
* version: 3 April 2020 *
|
||||
* url: https://github.com/hjstephens09/Better-Fox *
|
||||
******************************************************************************/
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
/****************************************************************************
|
||||
* SECTION: EDGE-LIKE SMOOTH SCROLLING (USING MSDPHYSICS) *
|
||||
******************************************************************************/
|
||||
|
||||
****************************************************************************/
|
||||
// PREF: Edge-like smooth scrolliing (using msdPhysics)
|
||||
user_pref("apz.frame_delay.enabled", false);
|
||||
user_pref("general.smoothScroll.msdPhysics.enabled", true);
|
||||
@@ -24,11 +31,9 @@ user_pref("toolkit.scrollbox.horizontalScrollDistance", 4);
|
||||
user_pref("toolkit.scrollbox.verticalScrollDistance", 5);
|
||||
user_pref("mousewheel.min_line_scroll_amount", 35); // adjust to preference, 20-40
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: EDGE-LIKE SMOOTH SCROLLING (w/o MSDPHYSICS) *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: Edge-like smooth scrolliing (without msdPhysics)
|
||||
user_pref("apz.frame_delay.enabled", false);
|
||||
user_pref("general.smoothScroll.currentVelocityWeighting", 0.05);
|
||||
@@ -46,11 +51,9 @@ user_pref("toolkit.scrollbox.horizontalScrollDistance", 4);
|
||||
user_pref("toolkit.scrollbox.verticalScrollDistance", 5);
|
||||
user_pref("mousewheel.min_line_scroll_amount", 35); // adjust to preference, 20-40
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: MAC OS TRACKPAD *
|
||||
******************************************************************************/
|
||||
|
||||
// PREF: OS X / macOS Trackpad
|
||||
// May not need to adjust settings since scrolling is already pretty smooth in macOS.
|
||||
user_pref("apz.frame_delay.enabled", false);
|
||||
@@ -64,7 +67,6 @@ user_pref("mousewheel.acceleration.factor", 8);
|
||||
user_pref("mousewheel.acceleration.start", 2);
|
||||
user_pref("mousewheel.min_line_scroll_amount", 2);
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* SECTION: GPU SPECIFIC *
|
||||
******************************************************************************/
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
//
|
||||
/****************************************************************************
|
||||
* BetterFox *
|
||||
* name: yokoffing user.js *
|
||||
* version: 30 March 2020 *
|
||||
* version: 31 March 2020 *
|
||||
* url: https://github.com/yokoffing/Better-Fox *
|
||||
* license: https://github.com/yokoffing/Better-Fox/blob/master/LICENSE *
|
||||
* README: https://github.com/yokoffing/Better-Fox/blob/master/README.md *
|
||||
@@ -11,7 +12,6 @@
|
||||
/****************************************************************************
|
||||
* START: FASTFOX *
|
||||
****************************************************************************/
|
||||
|
||||
user_pref("gfx.webrender.all", true);
|
||||
user_pref("nglayout.initialpaint.delay", 0);
|
||||
user_pref("content.notify.ontimer", false);
|
||||
@@ -27,14 +27,13 @@ user_pref("security.dialog_enable_delay", 0);
|
||||
/****************************************************************************
|
||||
* START: SECUREFOX *
|
||||
****************************************************************************/
|
||||
|
||||
user_pref("privacy.trackingprotection.pbmode.enabled", true);
|
||||
user_pref("privacy.trackingprotection.enabled", true);
|
||||
user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||
user_pref("privacy.socialtracking.block_cookies.enabled", true);
|
||||
user_pref("privacy.trackingprotection.cryptomining.enabled", true);
|
||||
user_pref("privacy.trackingprotection.fingerprinting.enabled", true);
|
||||
user_pref("network.cookie.cookieBehavior", 3);
|
||||
user_pref("network.cookie.cookieBehavior", 1);
|
||||
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
|
||||
user_pref("network.cookie.thirdparty.sessionOnly", true);
|
||||
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true);
|
||||
@@ -44,17 +43,19 @@ user_pref("network.dns.disablePrefetchFromHTTPS", true);
|
||||
user_pref("network.prefetch-next", false);
|
||||
user_pref("network.predictor.enabled", false);
|
||||
user_pref("network.predictor.enable-prefetch", false);
|
||||
user_pref("network.dns.disablePrefetch", true);
|
||||
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||
user_pref("browser.urlbar.usepreloadedtopurls.enabled", false);
|
||||
user_pref("network.http.speculative-parallel-limit", 0);
|
||||
user_pref("browser.newtab.preload", false);
|
||||
user_pref("browser.send_pings.require_same_host", true);
|
||||
user_pref("browser.send_pings", false);
|
||||
user_pref("browser.search.separatePrivateDefault", true);
|
||||
user_pref("browser.search.separatePrivateDefault.ui.enabled", true);
|
||||
user_pref("browser.search.suggest.enabled", false);
|
||||
user_pref("browser.search.suggest.enabled.private", false);
|
||||
user_pref("browser.fixup.alternate.enabled", false);
|
||||
user_pref("browser.fixup.typo.scheme", false);
|
||||
user_pref("browser.urlbar.oneOffSearches", true);
|
||||
user_pref("network.trr.mode", 2);
|
||||
user_pref("network.security.esni.enabled", true);
|
||||
user_pref("security.mixed_content.block_active_content", true);
|
||||
@@ -63,6 +64,7 @@ user_pref("security.mixed_content.upgrade_display_content", true);
|
||||
user_pref("security.mixed_content.block_object_subrequest", true);
|
||||
user_pref("network.auth.subresource-http-auth-allow", 1);
|
||||
user_pref("beacon.enabled", false);
|
||||
user_pref("dom.battery.enabled", false);
|
||||
user_pref("dom.targetBlankNoOpener.enabled", true);
|
||||
user_pref("network.ftp.enabled", false);
|
||||
user_pref("network.IDN_show_punycode", true);
|
||||
@@ -99,8 +101,6 @@ user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||
user_pref("browser.ping-centre.telemetry", false);
|
||||
user_pref("browser.search.update", false);
|
||||
user_pref("browser.selfsupport.url", "");
|
||||
user_pref("browser.send_pings.require_same_host", true);
|
||||
user_pref("browser.send_pings", false);
|
||||
user_pref("browser.startup.homepage_override.mstone", "ignore");
|
||||
user_pref("browser.tabs.crashReporting.sendReport", false);
|
||||
user_pref("browser.uitour.enabled", false);
|
||||
@@ -113,10 +113,6 @@ user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
||||
user_pref("dom.ipc.plugins.reportCrashURL", false);
|
||||
user_pref("dom.push.enabled", false);
|
||||
user_pref("dom.push.userAgentID", "");
|
||||
user_pref("experiments.activeExperiment", false);
|
||||
user_pref("experiments.enabled", false);
|
||||
user_pref("experiments.manifest.uri", "");
|
||||
user_pref("experiments.supported", false);
|
||||
user_pref("extensions.getAddons.cache.enabled", false);
|
||||
user_pref("extensions.getAddons.showPane", false);
|
||||
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
||||
@@ -143,7 +139,6 @@ user_pref("toolkit.telemetry.updatePing.enabled", false);
|
||||
/****************************************************************************
|
||||
* START: PESKYFOX *
|
||||
****************************************************************************/
|
||||
|
||||
user_pref("browser.library.activity-stream.enabled", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
||||
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
||||
@@ -198,6 +193,8 @@ user_pref("browser.link.open_newwindow.restriction", 0);
|
||||
user_pref("browser.bookmarks.openInTabClosesMenu", false);
|
||||
user_pref("browser.tabs.loadBookmarksInBackground", true);
|
||||
user_pref("browser.tabs.loadBookmarksInTabs", true);
|
||||
user_pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
|
||||
user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true);
|
||||
|
||||
/****************************************************************************
|
||||
* END: BETTERFOX *
|
||||
|
||||
Reference in New Issue
Block a user