|
|
@@ -1,8 +1,7 @@
|
|
|
|
/******
|
|
|
|
/******
|
|
|
|
* name: thunderbird user.js
|
|
|
|
* name: thunderbird user.js
|
|
|
|
* date: 1 November 2020
|
|
|
|
* date: 12 November 2020
|
|
|
|
* version: v78-beta4
|
|
|
|
* version: v78-beta5
|
|
|
|
* authors: v52+ github | v51- www.ghacks.net
|
|
|
|
|
|
|
|
* url: https://github.com/HorlogeSkynet/thunderbird-user.js
|
|
|
|
* url: https://github.com/HorlogeSkynet/thunderbird-user.js
|
|
|
|
* license: MIT (https://github.com/HorlogeSkynet/thunderbird-user.js/blob/master/LICENSE)
|
|
|
|
* license: MIT (https://github.com/HorlogeSkynet/thunderbird-user.js/blob/master/LICENSE)
|
|
|
|
* releases: https://github.com/HorlogeSkynet/thunderbird-user.js/releases
|
|
|
|
* releases: https://github.com/HorlogeSkynet/thunderbird-user.js/releases
|
|
|
@@ -207,6 +206,16 @@ user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // [FF58+
|
|
|
|
user_pref("mail.instrumentation.postUrl", "");
|
|
|
|
user_pref("mail.instrumentation.postUrl", "");
|
|
|
|
user_pref("mail.instrumentation.askUser", false);
|
|
|
|
user_pref("mail.instrumentation.askUser", false);
|
|
|
|
user_pref("mail.instrumentation.userOptedIn", false);
|
|
|
|
user_pref("mail.instrumentation.userOptedIn", false);
|
|
|
|
|
|
|
|
/* 0371: disable about:rights notification on fresh profiles
|
|
|
|
|
|
|
|
* When a profile is loaded for the first time, a bottom notification appears with a button
|
|
|
|
|
|
|
|
* showing "Know your rights...". If clicked, the _special_ page about:rights appears.
|
|
|
|
|
|
|
|
* When `mail.rights.override` is unset (default), Thunderbird falls-back on `mail.rights.version`
|
|
|
|
|
|
|
|
* value. If it's unset (default too) or lower than the current version, notification is displayed.
|
|
|
|
|
|
|
|
* false=always show the notification
|
|
|
|
|
|
|
|
* true=never show the notification
|
|
|
|
|
|
|
|
* [1] https://searchfox.org/comm-esr78/rev/384830b0570096c48770398060f87fbe556f6f01/mail/base/content/specialTabs.js#1218 ***/
|
|
|
|
|
|
|
|
user_pref("mail.rights.override", true); // [DEFAULT: unset]
|
|
|
|
|
|
|
|
// user_pref("mail.rights.version", 1) // [DEFAULT: unset]
|
|
|
|
/* 0390: disable Captive Portal detection
|
|
|
|
/* 0390: disable Captive Portal detection
|
|
|
|
* [1] https://www.eff.org/deeplinks/2017/08/how-captive-portals-interfere-wireless-security-and-privacy
|
|
|
|
* [1] https://www.eff.org/deeplinks/2017/08/how-captive-portals-interfere-wireless-security-and-privacy
|
|
|
|
* [2] https://wiki.mozilla.org/Necko/CaptivePortal ***/
|
|
|
|
* [2] https://wiki.mozilla.org/Necko/CaptivePortal ***/
|
|
|
@@ -275,7 +284,7 @@ user_pref("browser.safebrowsing.downloads.remote.url", "");
|
|
|
|
* Linux: "/usr/lib/firefox/browser/features" (or similar)
|
|
|
|
* Linux: "/usr/lib/firefox/browser/features" (or similar)
|
|
|
|
|
|
|
|
|
|
|
|
[1] https://firefox-source-docs.mozilla.org/toolkit/mozapps/extensions/addon-manager/SystemAddons.html
|
|
|
|
[1] https://firefox-source-docs.mozilla.org/toolkit/mozapps/extensions/addon-manager/SystemAddons.html
|
|
|
|
[2] https://dxr.mozilla.org/mozilla-central/source/browser/extensions
|
|
|
|
[2] https://searchfox.org/mozilla-central/source/browser/extensions
|
|
|
|
***/
|
|
|
|
***/
|
|
|
|
user_pref("_user.js.parrot", "0500 syntax error: the parrot's cashed in 'is chips!");
|
|
|
|
user_pref("_user.js.parrot", "0500 syntax error: the parrot's cashed in 'is chips!");
|
|
|
|
/* 0503: disable Normandy/Shield [FF60+]
|
|
|
|
/* 0503: disable Normandy/Shield [FF60+]
|
|
|
@@ -1080,8 +1089,9 @@ user_pref("dom.storage.enabled", false);
|
|
|
|
user_pref("browser.cache.offline.enable", false);
|
|
|
|
user_pref("browser.cache.offline.enable", false);
|
|
|
|
/* 2740: disable service worker cache and cache storage
|
|
|
|
/* 2740: disable service worker cache and cache storage
|
|
|
|
* [NOTE] We clear service worker cache on exiting Firefox (see 2803)
|
|
|
|
* [NOTE] We clear service worker cache on exiting Firefox (see 2803)
|
|
|
|
|
|
|
|
* [NOTE] Unlike arkenfox/user.js, we explicitly disable it
|
|
|
|
* [1] https://w3c.github.io/ServiceWorker/#privacy ***/
|
|
|
|
* [1] https://w3c.github.io/ServiceWorker/#privacy ***/
|
|
|
|
// user_pref("dom.caches.enabled", false);
|
|
|
|
user_pref("dom.caches.enabled", false);
|
|
|
|
/* 2750: disable Storage API [FF51+]
|
|
|
|
/* 2750: disable Storage API [FF51+]
|
|
|
|
* The API gives sites the ability to find out how much space they can use, how much
|
|
|
|
* The API gives sites the ability to find out how much space they can use, how much
|
|
|
|
* they are already using, and even control whether or not they need to be alerted
|
|
|
|
* they are already using, and even control whether or not they need to be alerted
|
|
|
@@ -1160,14 +1170,15 @@ user_pref("_user.js.parrot", "4000 syntax error: the parrot's pegged out");
|
|
|
|
user_pref("privacy.firstparty.isolate", true);
|
|
|
|
user_pref("privacy.firstparty.isolate", true);
|
|
|
|
/* 4002: enforce FPI restriction for window.opener [FF54+]
|
|
|
|
/* 4002: enforce FPI restriction for window.opener [FF54+]
|
|
|
|
* [NOTE] Setting this to false may reduce the breakage in 4001
|
|
|
|
* [NOTE] Setting this to false may reduce the breakage in 4001
|
|
|
|
|
|
|
|
* [NOTE] Unlike arkenfox/user.js, we explicitly set them
|
|
|
|
* FF65+ blocks postMessage with targetOrigin "*" if originAttributes don't match. But
|
|
|
|
* FF65+ blocks postMessage with targetOrigin "*" if originAttributes don't match. But
|
|
|
|
* to reduce breakage it ignores the 1st-party domain (FPD) originAttribute. (see [2],[3])
|
|
|
|
* to reduce breakage it ignores the 1st-party domain (FPD) originAttribute. (see [2],[3])
|
|
|
|
* The 2nd pref removes that limitation and will only allow communication if FPDs also match.
|
|
|
|
* The 2nd pref removes that limitation and will only allow communication if FPDs also match.
|
|
|
|
* [1] https://bugzilla.mozilla.org/1319773#c22
|
|
|
|
* [1] https://bugzilla.mozilla.org/1319773#c22
|
|
|
|
* [2] https://bugzilla.mozilla.org/1492607
|
|
|
|
* [2] https://bugzilla.mozilla.org/1492607
|
|
|
|
* [3] https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage ***/
|
|
|
|
* [3] https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage ***/
|
|
|
|
// user_pref("privacy.firstparty.isolate.restrict_opener_access", true); // [DEFAULT: true]
|
|
|
|
user_pref("privacy.firstparty.isolate.restrict_opener_access", true); // [DEFAULT: true]
|
|
|
|
// user_pref("privacy.firstparty.isolate.block_post_message", true); // [HIDDEN PREF ESR]
|
|
|
|
user_pref("privacy.firstparty.isolate.block_post_message", true); // [HIDDEN PREF ESR]
|
|
|
|
|
|
|
|
|
|
|
|
/*** [SECTION 4500]: RFP (RESIST FINGERPRINTING)
|
|
|
|
/*** [SECTION 4500]: RFP (RESIST FINGERPRINTING)
|
|
|
|
This master switch will be used for a wide range of items, many of which will
|
|
|
|
This master switch will be used for a wide range of items, many of which will
|
|
|
@@ -1423,7 +1434,7 @@ user_pref("mail.identity.id1.header.InReplyTo", "");
|
|
|
|
/*** [SECTION 6000]: THUNDERBIRD (AUTO CONFIG / UI / HEADERS / ADDRESS BOOK)
|
|
|
|
/*** [SECTION 6000]: THUNDERBIRD (AUTO CONFIG / UI / HEADERS / ADDRESS BOOK)
|
|
|
|
Options general to Thunderbird's mail configuration and user interface
|
|
|
|
Options general to Thunderbird's mail configuration and user interface
|
|
|
|
|
|
|
|
|
|
|
|
[1] https://dxr.mozilla.org/comm-release/
|
|
|
|
[1] https://searchfox.org/comm-esr78/source/
|
|
|
|
[2] http://kb.mozillazine.org/Mail_and_news_settings
|
|
|
|
[2] http://kb.mozillazine.org/Mail_and_news_settings
|
|
|
|
***/
|
|
|
|
***/
|
|
|
|
user_pref("_user.js.parrot", "6000 syntax error: this parrot is blind!");
|
|
|
|
user_pref("_user.js.parrot", "6000 syntax error: this parrot is blind!");
|
|
|
@@ -1632,7 +1643,7 @@ user_pref("permissions.default.image", 2);
|
|
|
|
user_pref("_user.js.parrot", "6200 syntax error: this parrot is not tweeting!");
|
|
|
|
user_pref("_user.js.parrot", "6200 syntax error: this parrot is not tweeting!");
|
|
|
|
|
|
|
|
|
|
|
|
/** CHAT ***/
|
|
|
|
/** CHAT ***/
|
|
|
|
/* 6201: Disable chat functionality ***/
|
|
|
|
/* 6201: Disable chat functionality [SETUP-FEATURE] ***/
|
|
|
|
user_pref("mail.chat.enabled", false);
|
|
|
|
user_pref("mail.chat.enabled", false);
|
|
|
|
/* 6202: Disable logging of group chats ***/
|
|
|
|
/* 6202: Disable logging of group chats ***/
|
|
|
|
user_pref("purple.logging.log_chats", false);
|
|
|
|
user_pref("purple.logging.log_chats", false);
|
|
|
@@ -1646,6 +1657,8 @@ user_pref("purple.conversations.im.send_typing", false);
|
|
|
|
* 0=Do not connect / show the account manager,
|
|
|
|
* 0=Do not connect / show the account manager,
|
|
|
|
* 1=Connect automatically. (Default) ***/
|
|
|
|
* 1=Connect automatically. (Default) ***/
|
|
|
|
// user_pref("messenger.startup.action", 0);
|
|
|
|
// user_pref("messenger.startup.action", 0);
|
|
|
|
|
|
|
|
/* 6207: When chat is enabled, do not report idle status ***/
|
|
|
|
|
|
|
|
// user_pref("messenger.status.reportIdle", false);
|
|
|
|
|
|
|
|
|
|
|
|
/** CALENDAR ***/
|
|
|
|
/** CALENDAR ***/
|
|
|
|
/* 6210: Disable calendar integration
|
|
|
|
/* 6210: Disable calendar integration
|
|
|
@@ -1666,13 +1679,13 @@ user_pref("calendar.useragent.extra", "");
|
|
|
|
user_pref("calendar.timezone.local", "UTC"); // [DEFAULT: ""]
|
|
|
|
user_pref("calendar.timezone.local", "UTC"); // [DEFAULT: ""]
|
|
|
|
|
|
|
|
|
|
|
|
/** RSS ***/
|
|
|
|
/** RSS ***/
|
|
|
|
/* These features used not to do anything as they weren't implemented.
|
|
|
|
/** These features don't actually do anything as they aren't implemented
|
|
|
|
* [1] https://dxr.mozilla.org/comm-release/source/mail/base/content/mailWindowOverlay.js#649
|
|
|
|
* [1] https://searchfox.org/comm-esr78/rev/384830b0570096c48770398060f87fbe556f6f01/mail/base/content/mailWindowOverlay.js#925
|
|
|
|
* [2] https://bugzilla.mozilla.org/show_bug.cgi?id=458606#c9 ***/
|
|
|
|
* [2] https://bugzilla.mozilla.org/show_bug.cgi?id=458606#c9
|
|
|
|
/* 6220: What classes can process incoming data.
|
|
|
|
/* 6220: What classes can process incoming data.
|
|
|
|
* (0=All classes (default), 1=Don't display HTML, 2=Don't display HTML and inline images,
|
|
|
|
* (0=All classes (default), 1=Don't display HTML, 2=Don't display HTML and inline images,
|
|
|
|
* 3=Don't display HTML, inline images and some other uncommon types, 100=Use a hard coded list)
|
|
|
|
* 3=Don't display HTML, inline images and some other uncommon types, 100=Use a hard coded list)
|
|
|
|
* [1] https://www.privacy-handbuch.de/handbuch_31j.htm ***/
|
|
|
|
* [1] https://www.privacy-handbuch.de/handbuch_31j.htm
|
|
|
|
user_pref("rss.display.disallow_mime_handlers", 3);
|
|
|
|
user_pref("rss.display.disallow_mime_handlers", 3);
|
|
|
|
/* 6221: How to display HTML parts of a message body
|
|
|
|
/* 6221: How to display HTML parts of a message body
|
|
|
|
* (0=Display the HTML normally (default), 1=Convert it to text and then back again
|
|
|
|
* (0=Display the HTML normally (default), 1=Convert it to text and then back again
|
|
|
@@ -1680,14 +1693,15 @@ user_pref("rss.display.disallow_mime_handlers", 3);
|
|
|
|
* (in trunk builds later than 2011-07-23)
|
|
|
|
* (in trunk builds later than 2011-07-23)
|
|
|
|
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=602718
|
|
|
|
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=602718
|
|
|
|
* [2] https://hg.mozilla.org/comm-central/rev/c1ef44a22eb2
|
|
|
|
* [2] https://hg.mozilla.org/comm-central/rev/c1ef44a22eb2
|
|
|
|
* [3] https://www.bucksch.org/1/projects/mozilla/108153/ ***/
|
|
|
|
* [3] https://www.bucksch.org/1/projects/mozilla/108153/
|
|
|
|
user_pref("rss.display.html_as", 1);
|
|
|
|
user_pref("rss.display.html_as", 1);
|
|
|
|
/* 6222: Prefer to view as plaintext or html
|
|
|
|
/* 6222: Prefer to view as plaintext or html
|
|
|
|
* true=Display a message as plain text when there is both a HTML and a plain
|
|
|
|
* true=Display a message as plain text when there is both a HTML and a plain
|
|
|
|
* text version of a message body
|
|
|
|
* text version of a message body
|
|
|
|
* false=Display a message as HTML when there is both a HTML and a plain text
|
|
|
|
* false=Display a message as HTML when there is both a HTML and a plain text
|
|
|
|
* version of a message body. (default) ***/
|
|
|
|
* version of a message body. (default)
|
|
|
|
user_pref("rss.display.prefer_plaintext", true);
|
|
|
|
user_pref("rss.display.prefer_plaintext", true);
|
|
|
|
|
|
|
|
**/
|
|
|
|
/* 6223: Feed message display (summary or web page), on open.
|
|
|
|
/* 6223: Feed message display (summary or web page), on open.
|
|
|
|
* Action on double click or enter in threadpane for a feed message.
|
|
|
|
* Action on double click or enter in threadpane for a feed message.
|
|
|
|
* 0=open content-base url in new window, 1=open summary in new window,
|
|
|
|
* 0=open content-base url in new window, 1=open summary in new window,
|
|
|
|