Compare commits

..

6 Commits

Author SHA1 Message Date
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 )
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 
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 478 additions and 463 deletions

15
.gitattributes vendored Normal 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

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

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

@ -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
* 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]
/* 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);
/*** [SECTION 6000]: DON'T TOUCH ***/
@ -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
* was received, rather than when it was sent. ***/
// user_pref("mailnews.use_received_date", true);
/* 9126: Send minimal User-Agent in outgoing email messages (default) */
user_pref("mailnews.headers.sendUserAgent", true);
user_pref("mailnews.headers.useMinimalUserAgent", true);
/* 9126: Prevent any MUA information leakage through User-Agent header in outgoing email messages
* [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1114475 ***/
user_pref("mailnews.headers.sendUserAgent", false);
// user_pref("mailnews.headers.useMinimalUserAgent", true);
/** ADDRESS BOOK ***/
/* 9130: Address book collection [SETUP-FEATURE]