10 Commits

Author SHA1 Message Date
Samuel FORESTIER
58740ffc13 Bumps to 128.2 2025-09-28 18:21:36 +02:00
Samuel FORESTIER
66c18fa2c3 Enables User-Agent header display in message pane (9121) 2025-09-28 18:20:56 +02:00
Samuel FORESTIER
86db61d4e1 Bumps to 128.1 2025-09-28 14:40:10 +02:00
Samuel FORESTIER
9fa3c438a4 Explicitly disables system timezone detection (9312)
Starting with Thunderbird 115ESR, system timezone detection no longer
relies solely on the `calendar.timezone.local` preference.

> closes #69
2025-09-28 14:39:47 +02:00
Samuel FORESTIER
2b839ae6ca [META] Updates copyrights for 2025 2025-01-05 15:01:56 +01:00
Samuel FORESTIER
7f75658282 Adds SETUP-CHROME tag to 5590 (see #31)
Co-Authored-By: Daniel Rudolf <github.com@daniel-rudolf.de>
2025-01-05 15:01:24 +01:00
Samuel FORESTIER
eec031aa69 Prevents MUA information leakage through User-Agent header
> closes #60
2024-11-16 12:13:33 +01:00
Samuel FORESTIER
8e9bc01c00 Adds (adapted) upstream .gitattributes 2024-11-09 16:30:25 +01:00
Phong Tran
4d986fffc6 Add thunderbird as recognized version 2024-11-09 15:15:06 +00:00
Phong Tran
8f7158ebe2 Convert scripts to dos CRLF 2024-11-09 15:15:06 +00:00
5 changed files with 486 additions and 469 deletions

15
.gitattributes vendored Normal file
View File

@@ -0,0 +1,15 @@
* text=auto
*.js text
*.md text
*.yml text
*.sh text
## *.bat text eol=crlf
*.bat -text
*.png binary
.gitattributes export-ignore
*.yml export-ignore
/wiki export-ignore
/.github export-ignore

View File

@@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2019-2024 HorlogeSkynet Copyright (c) 2019-2025 HorlogeSkynet
Copyright (c) 2019 dngray Copyright (c) 2019 dngray
Copyright (c) 2019 arkenfox [prev. ghacksuserjs] Copyright (c) 2019 arkenfox [prev. ghacksuserjs]

View File

@@ -103,13 +103,12 @@ IF NOT EXIST user.js (
IF !_line! GEQ 4 (GOTO exitloop) IF !_line! GEQ 4 (GOTO exitloop)
IF !_line! EQU 1 (SET _name=%%H) IF !_line! EQU 1 (SET _name=%%H)
IF !_line! EQU 2 (SET _date=%%H) IF !_line! EQU 2 (SET _date=%%H)
IF !_line! EQU 3 (SET _version=%%G) IF !_line! EQU 3 (SET _version=%%H)
) )
:exitloop :exitloop
IF NOT "!_name!"=="" ( IF NOT "!_name!"=="" (
SET "_tempvar=" SET "_tempvar="
IF /I NOT "!_name!"=="!_name:ghacks=!" SET _tempvar=1 IF /I NOT "!_name!"=="!_name:thunderbird=!" SET _tempvar=1
IF /I NOT "!_name!"=="!_name:arkenfox=!" SET _tempvar=1
IF !_tempvar! EQU 1 ( IF !_tempvar! EQU 1 (
CALL :message "!_name! !_version:~2!,!_date!" CALL :message "!_name! !_version:~2!,!_date!"
) ELSE (CALL :message "Current user.js version not recognised.") ) ELSE (CALL :message "Current user.js version not recognised.")

23
user.js
View File

@@ -1,7 +1,7 @@
/****** /******
* name: thunderbird user.js * name: thunderbird user.js
* date: 7 November 2024 * date: 28 September 2025
* version: v128.0 * version: v128.2
* 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)
@@ -1023,7 +1023,7 @@ user_pref("network.http.referer.XOriginPolicy", 2);
* When set to a valid, working value that matches your "network.trr.uri" (0712) Thunderbird * When set to a valid, working value that matches your "network.trr.uri" (0712) Thunderbird
* won't use the system DNS. If the IP doesn't match then DoH won't work ***/ * won't use the system DNS. If the IP doesn't match then DoH won't work ***/
// user_pref("network.trr.bootstrapAddr", "10.0.0.1"); // [HIDDEN PREF] // user_pref("network.trr.bootstrapAddr", "10.0.0.1"); // [HIDDEN PREF]
/* 5590: show a prompt when opening a link in external applications ***/ /* 5590: show a prompt when opening a link in external applications [SETUP-CHROME] ***/
user_pref("security.external_protocol_requires_permission", true); user_pref("security.external_protocol_requires_permission", true);
/*** [SECTION 6000]: DON'T TOUCH ***/ /*** [SECTION 6000]: DON'T TOUCH ***/
@@ -1273,7 +1273,7 @@ user_pref("mailnews.headers.showSender", true);
/* 9121: /* 9121:
* true=Show User Agent header in message pane * true=Show User Agent header in message pane
* false=Does nothing. (default) ***/ * false=Does nothing. (default) ***/
user_pref("mailnews.headers.showUserAgent", false); user_pref("mailnews.headers.showUserAgent", true);
/* 9122: Hello argument /* 9122: Hello argument
* Lets you replace your IP address with the specified string in Received: headers when your * Lets you replace your IP address with the specified string in Received: headers when your
* IP address is not a "fully qualified domain name" (FQDN). Typically you only need to do this * IP address is not a "fully qualified domain name" (FQDN). Typically you only need to do this
@@ -1300,9 +1300,10 @@ user_pref("mailnews.display.date_senders_timezone", false);
* "Received" header. Set the following preference. New messages will show the time the message * "Received" header. Set the following preference. New messages will show the time the message
* was received, rather than when it was sent. ***/ * was received, rather than when it was sent. ***/
// user_pref("mailnews.use_received_date", true); // user_pref("mailnews.use_received_date", true);
/* 9126: Send minimal User-Agent in outgoing email messages (default) */ /* 9126: Prevent any MUA information leakage through User-Agent header in outgoing email messages
user_pref("mailnews.headers.sendUserAgent", true); * [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1114475 ***/
user_pref("mailnews.headers.useMinimalUserAgent", true); user_pref("mailnews.headers.sendUserAgent", false);
// user_pref("mailnews.headers.useMinimalUserAgent", true);
/** ADDRESS BOOK ***/ /** ADDRESS BOOK ***/
/* 9130: Address book collection [SETUP-FEATURE] /* 9130: Address book collection [SETUP-FEATURE]
@@ -1471,10 +1472,12 @@ user_pref("mail.chat.notification_info", 2);
/** CALENDAR ***/ /** CALENDAR ***/
/* 9312: Set calendar timezone to avoid system detection [SETUP-INSTALL] /* 9312: Set calendar timezone to avoid system detection [SETUP-INSTALL]
* By default, extensive system detection would be performed to find user's current timezone. * By default, extensive system detection is performed to find current timezone (if OS supports it).
* Setting this preference to "UTC" should disable it. * Disable system detection and set timezone to "UTC".
* You may also directly set it to your timezone, i.e. "Pacific/Fakaofo" * You may also directly set it to your timezone, i.e. "Pacific/Fakaofo"
* [SETTING] Calendar > Calendar > Timezone ***/ * [SETTING] Calendar > Calendar > Set timezone manually / Timezone
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1606357 ***/
user_pref("calendar.timezone.useSystemTimezone", false);
user_pref("calendar.timezone.local", "UTC"); // [DEFAULT: ""] user_pref("calendar.timezone.local", "UTC"); // [DEFAULT: ""]
/* 9313: Disable calendar service performing event "extraction" from email content ***/ /* 9313: Disable calendar service performing event "extraction" from email content ***/
// user_pref("calendar.extract.service.enabled", false); // [DEFAULT: false] // user_pref("calendar.extract.service.enabled", false); // [DEFAULT: false]