10 Commits

Author SHA1 Message Date
e95dc540c9 [META] Bumps to v91.2 2022-08-24 10:10:01 +02:00
6c5d84bc89 Leaves mail.tabs.autoHide to its default value (disabled)
This preference is strictly _personal_ and should not be enforced in the
template.

> see #21
> closes #25
2022-08-24 10:09:15 +02:00
db12db282f Improves permissions.memory_only preference documentation
* Replaces `NOTE` tag by a proper `SETUP-CHROME` as it affects Thunderbird runtime behavior
* Mentions that reading from disk gets disabled too
* Mentions that "remote mail content" permissions are also affected

> see #23
2022-07-18 19:56:56 +02:00
f8466f15dd When "HTML" literal is used in documentation, prefers its uppercase form
This will simplify lookups when case-sensitivity matching is enabled.
2022-06-11 12:20:49 +02:00
68628a397a [META] Bumps to v91.1 2022-05-25 09:06:16 +02:00
fb31ebb304 Prefers "personal" section (9000) for mail.compose.other.header pref
> followup for e5fdab03ee.
2022-05-25 09:05:55 +02:00
50afdb9a57 Enforces mail.suppress_content_language & mail.sanitize_date_header
> closes #19
2022-05-23 18:49:57 +02:00
5c59028af9 Adds a note about empty User-Agent breaking Microsoft Exchange OAuth2
> See #19.
2022-05-23 17:06:03 +02:00
e5fdab03ee Adds mail.compose.other.header preference to template
> See #19.
2022-05-23 16:59:43 +02:00
f45c0a3d75 [CI] Bumps actions/checkout and actions/setup-node to v3 2022-04-23 11:52:24 +02:00
2 changed files with 17 additions and 11 deletions

View File

@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
- run: npm install -g eslint
- run: eslint user.js

24
user.js
View File

@ -1,7 +1,7 @@
/******
* name: thunderbird user.js
* date: 18 April 2022
* version: v91.0
* date: 24 August 2022
* version: v91.2
* url: https://github.com/HorlogeSkynet/thunderbird-user.js
* license: MIT (https://github.com/HorlogeSkynet/thunderbird-user.js/blob/master/LICENSE)
* releases: https://github.com/HorlogeSkynet/thunderbird-user.js/releases
@ -1062,8 +1062,8 @@ user_pref("browser.cache.memory.capacity", 0);
/* 5003: disable saving passwords
* [NOTE] This does not clear any passwords already saved ***/
user_pref("signon.rememberSignons", false);
/* 5004: disable permissions manager from writing to disk [FF41+] [RESTART]
* [NOTE] This means any permission changes are session only
/* 5004: disable permissions manager from reading or writing to disk [FF41+] [RESTART]
* [SETUP-CHROME] This means any permission changes (cookie or mail remote content) are session only
* [1] https://bugzilla.mozilla.org/967812 ***/
user_pref("permissions.memory_only", true); // [HIDDEN PREF]
/* 5005: disable intermediate certificate caching [FF41+] [RESTART]
@ -1250,6 +1250,7 @@ user_pref("dom.event.clipboardevents.enabled", false);
/*** [SECTION 8000]: DON'T BOTHER: NON-RFP
[WHY] They are insufficient to help anti-fingerprinting and do more harm than good
[WARNING] DO NOT USE with RFP. RFP already covers these and they can interfere
[NOTE] An empty User-Agent may break Microsoft Exchange OAuth2 login
***/
user_pref("_user.js.parrot", "8000 syntax error: the parrot's crossed the Jordan");
/* 8001: disable APIs ***/
@ -1298,6 +1299,7 @@ user_pref("mailnews.start_page_override.mstone", "ignore"); // master switch
// user_pref("clipboard.autocopy", false); // disable autocopy default [LINUX]
/* UX BEHAVIOR ***/
// user_pref("general.autoScroll", false); // middle-click enabling auto-scrolling [DEFAULT: false on Linux]
// user_pref("mail.tabs.autoHide", true); // hides the tab bar if there is only one tab
// user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar [RESTART]
/* UX FEATURES ***/
// user_pref("reader.parse-on-load.enabled", false); // Reader View
@ -1308,6 +1310,7 @@ user_pref("mailnews.start_page_override.mstone", "ignore"); // master switch
/* RETURN RECEIPT BEHAVIOR ***/
// user_pref("mail.mdn.report.enabled", false); // disable return receipt sending unconditionally
/* CUSTOM HEADERS ***/
// user_pref("mail.compose.other.header", "X-Custom-Header,X-Another-Custom-Header"); // corresponding values can be set in compose window ("double-arrow" drop-down)
// user_pref("mail.identity.id1.headers", "References, InReplyTo");
// user_pref("mail.identity.id1.header.References", "References: <2ad46d80-c8ce-49a3-9896-16171788ac28@example.tld>\n <31ff00c2-b7cb-4063-beeb-a0bdd424c3a7@example1.tld>");
// user_pref("mail.identity.id1.header.InReplyTo", "In-Reply-To: <31ff00c2-b7cb-4063-beeb-a0bdd424c3a7@example1.tld>");
@ -1341,9 +1344,6 @@ user_pref("mailnews.auto_config.addons_url","");
user_pref("mail.provider.enabled", false);
/** UI (User Interface) ***/
/* 9110: Hide tab bar
* false=Hides the tab bar if there is only one tab. (default) ***/
user_pref("mail.tabs.autoHide", true);
/* 9111: Show full email instead of just name from address book
* true=Show just the display name for people in the address book (default)
* false=Show both the email address and display name. ***/
@ -1435,6 +1435,12 @@ user_pref("mailnews.reply_header_type", 1);
user_pref("mailnews.reply_header_authorwrotesingle", "#1 wrote:");
// user_pref("mailnews.reply_header_ondateauthorwrote", "On #2 #3, #1 wrote:");
// user_pref("mailnews.reply_header_authorwroteondate", "#1 wrote on #2 #3:");
/* 9206: Prevent spellchecking dictionary leakage through Content-Language header
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1370217 ***/
user_pref("mail.suppress_content_language", true);
/* 9207: Sanitize Date header to convert date to UTC and round to closest minute
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1603359 ***/
user_pref("mail.sanitize_date_header", true);
/** COMPOSITION ***/
/* 9210: Check spelling before sending [SETUP-FEATURE]
@ -1474,7 +1480,7 @@ user_pref("mailnews.display.disallow_mime_handlers", 3);
* [2] https://hg.mozilla.org/comm-central/rev/c1ef44a22eb2
* [3] https://www.bucksch.org/1/projects/mozilla/108153/ ***/
user_pref("mailnews.display.html_as", 3);
/* 9216: Prefer to view as plaintext or html [SETUP-FEATURE]
/* 9216: Prefer to view as plaintext or HTML [SETUP-FEATURE]
* true=Display a message as plain text when there is both a HTML and a plain
* text version of a message body
* false=Display a message as HTML when there is both a HTML and a plain text
@ -1583,7 +1589,7 @@ user_pref("rss.display.disallow_mime_handlers", 3);
* [2] https://hg.mozilla.org/comm-central/rev/c1ef44a22eb2
* [3] https://www.bucksch.org/1/projects/mozilla/108153/
user_pref("rss.display.html_as", 1);
/* 9322: Prefer to view as plaintext or html
/* 9322: Prefer to view as plaintext or HTML
* true=Display a message as plain text when there is both a HTML and a plain
* text version of a message body
* false=Display a message as HTML when there is both a HTML and a plain text