|
|
@@ -1,8 +1,8 @@
|
|
|
|
/******
|
|
|
|
/******
|
|
|
|
* name: ghacks user.js
|
|
|
|
* name: ghacks user.js
|
|
|
|
* date: 26 June 2019
|
|
|
|
* date: 18 August 2019
|
|
|
|
* version 67: Barbie Pants
|
|
|
|
* version 68-beta: Knock on Pants
|
|
|
|
* "I'm a Barbie pants in a Barbie world. Life in plastic, it's fantastic"
|
|
|
|
* "It's like thunder, lightning... the way you wear me is frightening"
|
|
|
|
* authors: v52+ github | v51- www.ghacks.net
|
|
|
|
* authors: v52+ github | v51- www.ghacks.net
|
|
|
|
* url: https://github.com/ghacksuserjs/ghacks-user.js
|
|
|
|
* url: https://github.com/ghacksuserjs/ghacks-user.js
|
|
|
|
* license: MIT: https://github.com/ghacksuserjs/ghacks-user.js/blob/master/LICENSE.txt
|
|
|
|
* license: MIT: https://github.com/ghacksuserjs/ghacks-user.js/blob/master/LICENSE.txt
|
|
|
@@ -112,9 +112,7 @@ user_pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", "");
|
|
|
|
/* 0105b: disable Activity Stream Snippets
|
|
|
|
/* 0105b: disable Activity Stream Snippets
|
|
|
|
* Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server
|
|
|
|
* Runs code received from a server (aka Remote Code Execution) and sends information back to a metrics server
|
|
|
|
* [1] https://abouthome-snippets-service.readthedocs.io/ ***/
|
|
|
|
* [1] https://abouthome-snippets-service.readthedocs.io/ ***/
|
|
|
|
user_pref("browser.aboutHomeSnippets.updateUrl", "");
|
|
|
|
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "");
|
|
|
|
user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "");
|
|
|
|
user_pref("browser.newtabpage.activity-stream.disableSnippets", true);
|
|
|
|
|
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
|
|
|
/* 0105c: disable Activity Stream Top Stories, Pocket-based and/or sponsored content ***/
|
|
|
|
/* 0105c: disable Activity Stream Top Stories, Pocket-based and/or sponsored content ***/
|
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
|
|
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
|
|
@@ -202,11 +200,6 @@ user_pref("app.update.auto", false);
|
|
|
|
* used when installing/updating an extension, and in daily background update checks: if false, it
|
|
|
|
* used when installing/updating an extension, and in daily background update checks: if false, it
|
|
|
|
* hides the expanded text description (if it exists) when you "show more details about an addon" ***/
|
|
|
|
* hides the expanded text description (if it exists) when you "show more details about an addon" ***/
|
|
|
|
// user_pref("extensions.getAddons.cache.enabled", false);
|
|
|
|
// user_pref("extensions.getAddons.cache.enabled", false);
|
|
|
|
/* 0307: disable auto updating of lightweight themes (LWT)
|
|
|
|
|
|
|
|
* Not to be confused with themes in 0301* + 0302*, which use the FF55+ Theme API
|
|
|
|
|
|
|
|
* Mozilla plan to convert existing LWTs and remove LWT support in the future, see [1]
|
|
|
|
|
|
|
|
* [1] https://blog.mozilla.org/addons/2018/09/20/future-themes-here/ ***/
|
|
|
|
|
|
|
|
user_pref("lightweightThemes.update.enabled", false);
|
|
|
|
|
|
|
|
/* 0308: disable search update
|
|
|
|
/* 0308: disable search update
|
|
|
|
* [SETTING] General>Firefox Updates>Automatically update search engines ***/
|
|
|
|
* [SETTING] General>Firefox Updates>Automatically update search engines ***/
|
|
|
|
user_pref("browser.search.update", false);
|
|
|
|
user_pref("browser.search.update", false);
|
|
|
@@ -214,9 +207,13 @@ user_pref("browser.search.update", false);
|
|
|
|
user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
|
|
|
user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
|
|
|
/* 0310: disable sending the URL of the website where a plugin crashed ***/
|
|
|
|
/* 0310: disable sending the URL of the website where a plugin crashed ***/
|
|
|
|
user_pref("dom.ipc.plugins.reportCrashURL", false);
|
|
|
|
user_pref("dom.ipc.plugins.reportCrashURL", false);
|
|
|
|
/* 0320: disable about:addons' Get Add-ons panel (uses Google Analytics) ***/
|
|
|
|
/* 0320: disable about:addons' Recommendations pane (uses Google Analytics) ***/
|
|
|
|
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
|
|
|
|
user_pref("extensions.getAddons.showPane", false); // [HIDDEN PREF]
|
|
|
|
user_pref("extensions.webservice.discoverURL", "");
|
|
|
|
user_pref("extensions.webservice.discoverURL", "");
|
|
|
|
|
|
|
|
/* 0321: disable recommendations in about:addons' Extensions and Themes panes [FF68+] ***/
|
|
|
|
|
|
|
|
user_pref("extensions.getAddons.discovery.api_url", "");
|
|
|
|
|
|
|
|
user_pref("extensions.htmlaboutaddons.discover.enabled", false);
|
|
|
|
|
|
|
|
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
|
|
|
/* 0330: disable telemetry
|
|
|
|
/* 0330: disable telemetry
|
|
|
|
* the pref (.unified) affects the behaviour of the pref (.enabled)
|
|
|
|
* the pref (.unified) affects the behaviour of the pref (.enabled)
|
|
|
|
* IF unified=false then .enabled controls the telemetry module
|
|
|
|
* IF unified=false then .enabled controls the telemetry module
|
|
|
@@ -480,7 +477,7 @@ user_pref("browser.sessionhistory.max_entries", 10);
|
|
|
|
/* 0805: disable CSS querying page history - CSS history leak
|
|
|
|
/* 0805: disable CSS querying page history - CSS history leak
|
|
|
|
* [NOTE] This has NEVER been fully "resolved": in Mozilla/docs it is stated it's
|
|
|
|
* [NOTE] This has NEVER been fully "resolved": in Mozilla/docs it is stated it's
|
|
|
|
* only in 'certain circumstances', also see latest comments in [2]
|
|
|
|
* only in 'certain circumstances', also see latest comments in [2]
|
|
|
|
* [TEST] http://lcamtuf.coredump.cx/yahh/ (see github wiki APPENDIX C on how to use)
|
|
|
|
* [TEST] http://lcamtuf.coredump.cx/yahh/ (see github wiki APPENDIX A on how to use)
|
|
|
|
* [1] https://dbaron.org/mozilla/visited-privacy
|
|
|
|
* [1] https://dbaron.org/mozilla/visited-privacy
|
|
|
|
* [2] https://bugzilla.mozilla.org/147777
|
|
|
|
* [2] https://bugzilla.mozilla.org/147777
|
|
|
|
* [3] https://developer.mozilla.org/docs/Web/CSS/Privacy_and_the_:visited_selector ***/
|
|
|
|
* [3] https://developer.mozilla.org/docs/Web/CSS/Privacy_and_the_:visited_selector ***/
|
|
|
@@ -527,10 +524,6 @@ user_pref("browser.formfill.enable", false);
|
|
|
|
* [NOTE] We also clear history and downloads on exiting Firefox (see 2803)
|
|
|
|
* [NOTE] We also clear history and downloads on exiting Firefox (see 2803)
|
|
|
|
* [SETTING] Privacy & Security>History>Custom Settings>Remember browsing and download history ***/
|
|
|
|
* [SETTING] Privacy & Security>History>Custom Settings>Remember browsing and download history ***/
|
|
|
|
// user_pref("places.history.enabled", false);
|
|
|
|
// user_pref("places.history.enabled", false);
|
|
|
|
/* 0864: disable date/time picker
|
|
|
|
|
|
|
|
* This can leak your locale if not en-US
|
|
|
|
|
|
|
|
* [1] https://trac.torproject.org/projects/tor/ticket/21787 ***/
|
|
|
|
|
|
|
|
user_pref("dom.forms.datetime", false);
|
|
|
|
|
|
|
|
/* 0870: disable Windows jumplist [WINDOWS] ***/
|
|
|
|
/* 0870: disable Windows jumplist [WINDOWS] ***/
|
|
|
|
user_pref("browser.taskbar.lists.enabled", false);
|
|
|
|
user_pref("browser.taskbar.lists.enabled", false);
|
|
|
|
user_pref("browser.taskbar.lists.frequent.enabled", false);
|
|
|
|
user_pref("browser.taskbar.lists.frequent.enabled", false);
|
|
|
@@ -876,7 +869,6 @@ user_pref("privacy.userContext.enabled", true);
|
|
|
|
user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); // [DEFAULT: true in FF61+]
|
|
|
|
user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); // [DEFAULT: true in FF61+]
|
|
|
|
/* 1704: set behaviour on "+ Tab" button to display container menu [FF53+] [SETUP-CHROME]
|
|
|
|
/* 1704: set behaviour on "+ Tab" button to display container menu [FF53+] [SETUP-CHROME]
|
|
|
|
* 0=no menu (default), 1=show when clicked, 2=show on long press
|
|
|
|
* 0=no menu (default), 1=show when clicked, 2=show on long press
|
|
|
|
* [NOTE] The menu does not contain a non-container tab option (use Ctrl+T to open non-container tab)
|
|
|
|
|
|
|
|
* [1] https://bugzilla.mozilla.org/1328756 ***/
|
|
|
|
* [1] https://bugzilla.mozilla.org/1328756 ***/
|
|
|
|
user_pref("privacy.userContext.longPressBehavior", 2);
|
|
|
|
user_pref("privacy.userContext.longPressBehavior", 2);
|
|
|
|
|
|
|
|
|
|
|
@@ -907,6 +899,8 @@ user_pref("media.eme.enabled", false);
|
|
|
|
/*** [SECTION 2000]: MEDIA / CAMERA / MIC ***/
|
|
|
|
/*** [SECTION 2000]: MEDIA / CAMERA / MIC ***/
|
|
|
|
user_pref("_user.js.parrot", "2000 syntax error: the parrot's snuffed it!");
|
|
|
|
user_pref("_user.js.parrot", "2000 syntax error: the parrot's snuffed it!");
|
|
|
|
/* 2001: disable WebRTC (Web Real-Time Communication)
|
|
|
|
/* 2001: disable WebRTC (Web Real-Time Communication)
|
|
|
|
|
|
|
|
* [SETUP-WEB] WebRTC can leak your IP address from behind your VPN, but if this is not
|
|
|
|
|
|
|
|
* in your threat model, and you want Real-Time Communication, this is the pref for you
|
|
|
|
* [1] https://www.privacytools.io/#webrtc ***/
|
|
|
|
* [1] https://www.privacytools.io/#webrtc ***/
|
|
|
|
user_pref("media.peerconnection.enabled", false);
|
|
|
|
user_pref("media.peerconnection.enabled", false);
|
|
|
|
/* 2002: limit WebRTC IP leaks if using WebRTC
|
|
|
|
/* 2002: limit WebRTC IP leaks if using WebRTC
|
|
|
@@ -916,6 +910,8 @@ user_pref("media.peerconnection.enabled", false);
|
|
|
|
user_pref("media.peerconnection.ice.default_address_only", true);
|
|
|
|
user_pref("media.peerconnection.ice.default_address_only", true);
|
|
|
|
user_pref("media.peerconnection.ice.no_host", true); // [FF51+]
|
|
|
|
user_pref("media.peerconnection.ice.no_host", true); // [FF51+]
|
|
|
|
/* 2010: disable WebGL (Web Graphics Library)
|
|
|
|
/* 2010: disable WebGL (Web Graphics Library)
|
|
|
|
|
|
|
|
* [SETUP-WEB] When disabled, may break some websites. When enabled, provides high entropy,
|
|
|
|
|
|
|
|
* especially with readPixels(). Some of the other entropy is lessened with RFP (see 4501)
|
|
|
|
* [1] https://www.contextis.com/resources/blog/webgl-new-dimension-browser-exploitation/
|
|
|
|
* [1] https://www.contextis.com/resources/blog/webgl-new-dimension-browser-exploitation/
|
|
|
|
* [2] https://security.stackexchange.com/questions/13799/is-webgl-a-security-concern ***/
|
|
|
|
* [2] https://security.stackexchange.com/questions/13799/is-webgl-a-security-concern ***/
|
|
|
|
user_pref("webgl.disabled", true);
|
|
|
|
user_pref("webgl.disabled", true);
|
|
|
@@ -944,7 +940,9 @@ user_pref("media.autoplay.default", 1); // [DEFAULT: 1 in FF67+]
|
|
|
|
user_pref("media.autoplay.enabled.user-gestures-needed", false);
|
|
|
|
user_pref("media.autoplay.enabled.user-gestures-needed", false);
|
|
|
|
/* 2032: disable audio autoplay in non-active tabs [FF51+]
|
|
|
|
/* 2032: disable audio autoplay in non-active tabs [FF51+]
|
|
|
|
* [1] https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/ ***/
|
|
|
|
* [1] https://www.ghacks.net/2016/11/14/firefox-51-blocks-automatic-audio-playback-in-non-active-tabs/ ***/
|
|
|
|
user_pref("media.block-autoplay-until-in-foreground", true);
|
|
|
|
user_pref("media.block-autoplay-until-in-foreground", true); // [DEFAULT: true]
|
|
|
|
|
|
|
|
/* 2033: disable autoplay for muted videos [FF63+] ***/
|
|
|
|
|
|
|
|
// user_pref("media.autoplay.allow-muted", false);
|
|
|
|
|
|
|
|
|
|
|
|
/*** [SECTION 2200]: WINDOW MEDDLING & LEAKS / POPUPS ***/
|
|
|
|
/*** [SECTION 2200]: WINDOW MEDDLING & LEAKS / POPUPS ***/
|
|
|
|
user_pref("_user.js.parrot", "2200 syntax error: the parrot's 'istory!");
|
|
|
|
user_pref("_user.js.parrot", "2200 syntax error: the parrot's 'istory!");
|
|
|
@@ -977,7 +975,7 @@ user_pref("browser.link.open_newwindow.restriction", 0);
|
|
|
|
* [SETTING] Privacy & Security>Permissions>Block pop-up windows ***/
|
|
|
|
* [SETTING] Privacy & Security>Permissions>Block pop-up windows ***/
|
|
|
|
user_pref("dom.disable_open_during_load", true);
|
|
|
|
user_pref("dom.disable_open_during_load", true);
|
|
|
|
/* 2212: limit events that can cause a popup [SETUP-WEB]
|
|
|
|
/* 2212: limit events that can cause a popup [SETUP-WEB]
|
|
|
|
* default is "change click dblclick mouseup pointerup notificationclick reset submit touchend contextmenu"
|
|
|
|
* default is "change click dblclick auxclick mouseup pointerup notificationclick reset submit touchend contextmenu"
|
|
|
|
* [1] http://kb.mozillazine.org/Dom.popup_allowed_events ***/
|
|
|
|
* [1] http://kb.mozillazine.org/Dom.popup_allowed_events ***/
|
|
|
|
user_pref("dom.popup_allowed_events", "click dblclick");
|
|
|
|
user_pref("dom.popup_allowed_events", "click dblclick");
|
|
|
|
|
|
|
|
|
|
|
@@ -1043,7 +1041,7 @@ user_pref("dom.event.clipboardevents.enabled", false);
|
|
|
|
/* 2403: disable clipboard commands (cut/copy) from "non-privileged" content [FF41+]
|
|
|
|
/* 2403: disable clipboard commands (cut/copy) from "non-privileged" content [FF41+]
|
|
|
|
* this disables document.execCommand("cut"/"copy") to protect your clipboard
|
|
|
|
* this disables document.execCommand("cut"/"copy") to protect your clipboard
|
|
|
|
* [1] https://bugzilla.mozilla.org/1170911 ***/
|
|
|
|
* [1] https://bugzilla.mozilla.org/1170911 ***/
|
|
|
|
user_pref("dom.allow_cut_copy", false); // [HIDDEN PREF]
|
|
|
|
user_pref("dom.allow_cut_copy", false);
|
|
|
|
/* 2404: disable "Confirm you want to leave" dialog on page close
|
|
|
|
/* 2404: disable "Confirm you want to leave" dialog on page close
|
|
|
|
* Does not prevent JS leaks of the page close event.
|
|
|
|
* Does not prevent JS leaks of the page close event.
|
|
|
|
* [1] https://developer.mozilla.org/docs/Web/Events/beforeunload
|
|
|
|
* [1] https://developer.mozilla.org/docs/Web/Events/beforeunload
|
|
|
@@ -1228,9 +1226,6 @@ user_pref("extensions.autoDisableScopes", 15); // [DEFAULT: 15]
|
|
|
|
/* 2680: enable CSP (Content Security Policy)
|
|
|
|
/* 2680: enable CSP (Content Security Policy)
|
|
|
|
* [1] https://developer.mozilla.org/docs/Web/HTTP/CSP ***/
|
|
|
|
* [1] https://developer.mozilla.org/docs/Web/HTTP/CSP ***/
|
|
|
|
user_pref("security.csp.enable", true); // [DEFAULT: true]
|
|
|
|
user_pref("security.csp.enable", true); // [DEFAULT: true]
|
|
|
|
/* 2682: enable CSP 1.1 experimental hash-source directive [FF29+]
|
|
|
|
|
|
|
|
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=855326,883975 ***/
|
|
|
|
|
|
|
|
user_pref("security.csp.experimentalEnabled", true);
|
|
|
|
|
|
|
|
/* 2684: enforce a security delay on some confirmation dialogs such as install, open/save
|
|
|
|
/* 2684: enforce a security delay on some confirmation dialogs such as install, open/save
|
|
|
|
* [1] http://kb.mozillazine.org/Disable_extension_install_delay_-_Firefox
|
|
|
|
* [1] http://kb.mozillazine.org/Disable_extension_install_delay_-_Firefox
|
|
|
|
* [2] https://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs/ ***/
|
|
|
|
* [2] https://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs/ ***/
|
|
|
@@ -1453,11 +1448,13 @@ user_pref("privacy.firstparty.isolate.restrict_opener_access", true); // [DEFAUL
|
|
|
|
** 1407366 - enable inner window letterboxing (see 4504) (FF67+)
|
|
|
|
** 1407366 - enable inner window letterboxing (see 4504) (FF67+)
|
|
|
|
** 1540726 - return "light" with prefers-color-scheme (FF67+)
|
|
|
|
** 1540726 - return "light" with prefers-color-scheme (FF67+)
|
|
|
|
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
|
|
|
|
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
|
|
|
|
|
|
|
|
** 1564422 - spoof audioContext outputLatency (FF70+)
|
|
|
|
***/
|
|
|
|
***/
|
|
|
|
user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs");
|
|
|
|
user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs");
|
|
|
|
/* 4501: enable privacy.resistFingerprinting [FF41+]
|
|
|
|
/* 4501: enable privacy.resistFingerprinting [FF41+]
|
|
|
|
* This pref is the master switch for all other privacy.resist* prefs unless stated
|
|
|
|
* This pref is the master switch for all other privacy.resist* prefs unless stated
|
|
|
|
* [SETUP-WEB] RFP is not ready for the masses, so expect some website breakage
|
|
|
|
* [SETUP-WEB] RFP can cause the odd website to break in strange ways, and has a few side affects,
|
|
|
|
|
|
|
|
* but is largely robust nowadays. Give it a try. Your choice. Also see 4504 (letterboxing).
|
|
|
|
* [1] https://bugzilla.mozilla.org/418986 ***/
|
|
|
|
* [1] https://bugzilla.mozilla.org/418986 ***/
|
|
|
|
user_pref("privacy.resistFingerprinting", true);
|
|
|
|
user_pref("privacy.resistFingerprinting", true);
|
|
|
|
/* 4502: set new window sizes to round to hundreds [FF55+] [SETUP-CHROME]
|
|
|
|
/* 4502: set new window sizes to round to hundreds [FF55+] [SETUP-CHROME]
|
|
|
@@ -1465,8 +1462,8 @@ user_pref("privacy.resistFingerprinting", true);
|
|
|
|
* The override values are a starting point to round from if you want some control
|
|
|
|
* The override values are a starting point to round from if you want some control
|
|
|
|
* [1] https://bugzilla.mozilla.org/1330882
|
|
|
|
* [1] https://bugzilla.mozilla.org/1330882
|
|
|
|
* [2] https://hardware.metrics.mozilla.com/ ***/
|
|
|
|
* [2] https://hardware.metrics.mozilla.com/ ***/
|
|
|
|
// user_pref("privacy.window.maxInnerWidth", 1600); // [HIDDEN PREF]
|
|
|
|
// user_pref("privacy.window.maxInnerWidth", 1000);
|
|
|
|
// user_pref("privacy.window.maxInnerHeight", 900); // [HIDDEN PREF]
|
|
|
|
// user_pref("privacy.window.maxInnerHeight", 1000);
|
|
|
|
/* 4503: disable mozAddonManager Web API [FF57+]
|
|
|
|
/* 4503: disable mozAddonManager Web API [FF57+]
|
|
|
|
* [NOTE] As a side-effect in FF57-59 this allowed extensions to work on AMO. In FF60+ you also need
|
|
|
|
* [NOTE] As a side-effect in FF57-59 this allowed extensions to work on AMO. In FF60+ you also need
|
|
|
|
* to sanitize or clear extensions.webextensions.restrictedDomains (see 2662) to keep that side-effect
|
|
|
|
* to sanitize or clear extensions.webextensions.restrictedDomains (see 2662) to keep that side-effect
|
|
|
@@ -1476,7 +1473,8 @@ user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // [HIDDE
|
|
|
|
* Dynamically resizes the inner window (FF67; 200w x100h: FF68+; stepped ranges) by applying letterboxing,
|
|
|
|
* Dynamically resizes the inner window (FF67; 200w x100h: FF68+; stepped ranges) by applying letterboxing,
|
|
|
|
* using dimensions which waste the least content area, If you use the dimension pref, then it will only apply
|
|
|
|
* using dimensions which waste the least content area, If you use the dimension pref, then it will only apply
|
|
|
|
* those resolutions. The format is "width1xheight1, width2xheight2, ..." (e.g. "800x600, 1000x1000, 1600x900")
|
|
|
|
* those resolutions. The format is "width1xheight1, width2xheight2, ..." (e.g. "800x600, 1000x1000, 1600x900")
|
|
|
|
* [NOTE] This does NOT require RFP (see 4501) **for now**
|
|
|
|
* [SETUP-WEB] This does NOT require RFP (see 4501) **for now**, so if you're not using 4501, or you are but you're
|
|
|
|
|
|
|
|
* not taking anti-fingerprinting seriously and a little visual change upsets you, then feel free to flip this pref
|
|
|
|
* [WARNING] The dimension pref is only meant for testing, and we recommend you DO NOT USE it
|
|
|
|
* [WARNING] The dimension pref is only meant for testing, and we recommend you DO NOT USE it
|
|
|
|
* [1] https://bugzilla.mozilla.org/1407366 ***/
|
|
|
|
* [1] https://bugzilla.mozilla.org/1407366 ***/
|
|
|
|
user_pref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
|
|
|
|
user_pref("privacy.resistFingerprinting.letterboxing", true); // [HIDDEN PREF]
|
|
|
@@ -1621,6 +1619,7 @@ user_pref("_user.js.parrot", "5000 syntax error: this is an ex-parrot!");
|
|
|
|
/* APPEARANCE ***/
|
|
|
|
/* APPEARANCE ***/
|
|
|
|
// user_pref("browser.download.autohideButton", false); // [FF57+]
|
|
|
|
// user_pref("browser.download.autohideButton", false); // [FF57+]
|
|
|
|
// user_pref("toolkit.cosmeticAnimations.enabled", false); // [FF55+]
|
|
|
|
// user_pref("toolkit.cosmeticAnimations.enabled", false); // [FF55+]
|
|
|
|
|
|
|
|
// user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); // [FF68+] allow userChrome/userContent
|
|
|
|
/* CONTENT BEHAVIOR ***/
|
|
|
|
/* CONTENT BEHAVIOR ***/
|
|
|
|
// user_pref("accessibility.typeaheadfind", true); // enable "Find As You Type"
|
|
|
|
// user_pref("accessibility.typeaheadfind", true); // enable "Find As You Type"
|
|
|
|
// user_pref("clipboard.autocopy", false); // disable autocopy default [LINUX]
|
|
|
|
// user_pref("clipboard.autocopy", false); // disable autocopy default [LINUX]
|
|
|
@@ -1632,6 +1631,7 @@ user_pref("_user.js.parrot", "5000 syntax error: this is an ex-parrot!");
|
|
|
|
// user_pref("browser.urlbar.decodeURLsOnCopy", true); // see bugzilla 1320061 [FF53+]
|
|
|
|
// user_pref("browser.urlbar.decodeURLsOnCopy", true); // see bugzilla 1320061 [FF53+]
|
|
|
|
// user_pref("general.autoScroll", false); // middle-click enabling auto-scrolling [WINDOWS] [MAC]
|
|
|
|
// user_pref("general.autoScroll", false); // middle-click enabling auto-scrolling [WINDOWS] [MAC]
|
|
|
|
// user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar [RESTART]
|
|
|
|
// user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar [RESTART]
|
|
|
|
|
|
|
|
// user_pref("view_source.tab", false); // view "page/selection source" in a new window [FF68+, FF59 and under]
|
|
|
|
/* OTHER ***/
|
|
|
|
/* OTHER ***/
|
|
|
|
// user_pref("browser.bookmarks.max_backups", 2);
|
|
|
|
// user_pref("browser.bookmarks.max_backups", 2);
|
|
|
|
// user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+]
|
|
|
|
// user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); // disable CFR [FF67+]
|
|
|
@@ -1753,6 +1753,22 @@ user_pref("dom.event.highrestimestamp.enabled", true); // [DEFAULT: true]
|
|
|
|
// [-] https://bugzilla.mozilla.org/1528953
|
|
|
|
// [-] https://bugzilla.mozilla.org/1528953
|
|
|
|
// user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr", false);
|
|
|
|
// user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr", false);
|
|
|
|
// * * * /
|
|
|
|
// * * * /
|
|
|
|
|
|
|
|
// FF68
|
|
|
|
|
|
|
|
// 0105b: disable Activity Stream Snippets
|
|
|
|
|
|
|
|
// [-] https://bugzilla.mozilla.org/1540939
|
|
|
|
|
|
|
|
user_pref("browser.aboutHomeSnippets.updateUrl", "");
|
|
|
|
|
|
|
|
user_pref("browser.newtabpage.activity-stream.disableSnippets", true);
|
|
|
|
|
|
|
|
// 0307: disable auto updating of lightweight themes (LWT)
|
|
|
|
|
|
|
|
// Not to be confused with themes in 0301* + 0302*, which use the FF55+ Theme API
|
|
|
|
|
|
|
|
// Mozilla plan to convert existing LWTs and remove LWT support in the future, see [1]
|
|
|
|
|
|
|
|
// [1] https://blog.mozilla.org/addons/2018/09/20/future-themes-here/
|
|
|
|
|
|
|
|
// [-] (part3b) https://bugzilla.mozilla.org/1525762
|
|
|
|
|
|
|
|
user_pref("lightweightThemes.update.enabled", false);
|
|
|
|
|
|
|
|
// 2682: enable CSP 1.1 experimental hash-source directive [FF29+]
|
|
|
|
|
|
|
|
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=855326,883975
|
|
|
|
|
|
|
|
// [-] https://bugzilla.mozilla.org/1386214
|
|
|
|
|
|
|
|
user_pref("security.csp.experimentalEnabled", true);
|
|
|
|
|
|
|
|
// * * * /
|
|
|
|
// ***/
|
|
|
|
// ***/
|
|
|
|
|
|
|
|
|
|
|
|
/* END: internal custom pref to test for syntax errors ***/
|
|
|
|
/* END: internal custom pref to test for syntax errors ***/
|
|
|
|