35 Commits

Author SHA1 Message Date
894ae0d78b Bumps to v78-beta4 2020-11-08 17:49:56 +01:00
a6a674ad37 Prevent access to emails until the master password is entered 2020-11-08 17:49:33 +01:00
700f90e954 Improves consistency across some preferences default set values 2020-11-08 16:18:57 +01:00
352394a62f Specifies that mail.collect_* could be changed from settings 2020-11-08 16:10:32 +01:00
fc6ea5582f TorBirdy is not compatible against Thunderbird v78, removing advice 2020-11-08 16:10:32 +01:00
428fa861b9 Prevents pages refresh or reload when tab/window is inactive or idle 2020-11-08 15:15:50 +01:00
148bfac882 Definitely removes link to CHEF-KOCH/TBCK in "related projects" list
> See: <https://github.com/arkenfox/user.js/issues/323>
2020-11-08 15:15:32 +01:00
13b544b208 These UX features actually do not exist anymore 2020-11-07 23:06:39 +01:00
667189eedb Specifies that calendar.timezone.local could be changed from settings 2020-11-07 19:19:32 +01:00
b4a7a771ec Improves addr collect. doc + Explains how it could be done with CardBook 2020-11-07 19:05:58 +01:00
e859c40916 [CARDBOOK] Prevent contacts display names leakages in recipients list 2020-11-07 19:00:33 +01:00
b36710a76e Replaces Acorn over Travis CI by ESLint over (Microsoft) GitHub Actions
> See #11, Acorn was great but not sufficient for Mozilla's libPref syntax...
2020-11-05 16:11:13 +01:00
ba65d33451 Bumps version field in sources according to latest tag
[skip ci]
2020-11-04 21:18:13 +01:00
accbfcc009 Adds missing semicolons to mail.instrumentation.* prefs (closes #11) 2020-11-04 21:05:32 +01:00
5ee06c6d89 "Format replies not to disclose additional information such as locale"
Commit imported (before being adjusted) from CHEF-KOCH/TBCK project, external contribution by @komachi

Co-authored-by: Anton Nesterov <anton@nesterov.cc>
2020-11-04 10:47:31 +01:00
8591d9b2c8 Re-affects 6000 section identifiers to allow new intermediate prefs 2020-11-04 09:59:45 +01:00
ac6137d6f4 Adds "Privacy Haters" as one more related project
> The HTTP link has been set, as the website uses a self-signed certificate.
2020-11-03 20:45:51 +01:00
7bc7c89ac7 Exposes the default return receipt behavior pref in 5000 ("personal") 2020-11-03 20:34:12 +01:00
52d0864e41 Incorporates some hardening from CHEF-KOCH/TBCK (abandoned?) project :
+ Disables MathML by default
+ Lowers the HTTP redirects limit
+ Disables any add-on installed outside profile directory
+ Disables accessibility services access
+ Disables system timezone detection
+ Disables UI instrumentation
+ Disables network connectivity checks
+ Disables IPv6 network detection changes
2020-11-03 18:56:53 +01:00
37066f8c06 Somehow, checkDefaultMail option got renamed to checkDefaultClient 2020-11-03 18:53:06 +01:00
787ca411fb Prefers pointing to Arkenfox maintenance section as we do not have one 2020-11-03 14:48:00 +01:00
68d36833f7 Fixes wrong value type set for mail.collect_addressbook option...
and adds the default value to template for re-enabling purposes
2020-11-03 10:59:41 +01:00
f9413919b5 Enables some previously commented-out options related to RSS feeds 2020-11-03 10:58:34 +01:00
b58655a422 The option following 6001 should definitely be 6002 :-) 2020-11-02 09:58:33 +01:00
08b2bf9467 TBCK project is now unavailable on GitHub, waiting for owner feedback... 2020-11-01 23:27:59 +01:00
bc1a74afa7 @tya99's account does not exist on GitHub anymore 2020-11-01 23:26:35 +01:00
8c2ef50da0 TorBirdy is actually not compatible against Thunderbird >= v68
> See <https://trac.torproject.org/projects/tor/ticket/31341>
2020-11-01 23:25:58 +01:00
3cd96847ca [BREAKING] Let's prefer plain text email disregarding HTML presence 2020-11-01 22:58:48 +01:00
10b1bb2b7c Merges some options and behavior from Privacy Handbuch project for v78 2020-11-01 22:57:55 +01:00
1692de442c Applies Arkenfox v68..v78 changes 2020-11-01 19:11:47 +01:00
a9b0166323 Updates README layout to reflect latest arkenfox design 2020-11-01 13:26:51 +01:00
ce8dfe3329 Bumps to v68.0 2020-10-31 22:26:10 +01:00
30848dd7e7 Replaces gHacks occurrences by arkenfox (see arkenfox/user.js#1009) 2020-10-31 22:25:47 +01:00
b90bbe45b2 Bumps to v68-beta5 2020-05-01 08:49:19 +02:00
5ede0acaaa Fixes mailnews.use_received_date type and unsets it by default 2020-05-01 08:49:08 +02:00
5 changed files with 686 additions and 423 deletions

45
.eslintrc.yml Normal file
View File

@ -0,0 +1,45 @@
%YAML 1.2
---
root: true
extends: 'eslint:recommended'
globals:
# From <https://searchfox.org/mozilla-central/rev/c938c7416c633639a5c8ce4412be586eefb48005/modules/libpref/parser/src/lib.rs#296>
pref: true
user_pref: true
sticky: true
locked: true
sticky_pref: true
rules:
# Expect a semicolon after each statement.
semi:
- "error"
- "always"
-
omitLastInOneLineBlock: false
# As internal code style, don't allow tabulation.
no-tabs: "error"
# ... nor trailing spaces !
no-trailing-spaces: "error"
# Expect only double-quoted strings.
quotes:
- "error"
- "double"
# Don't allow whitespace before semicolons.
semi-spacing:
- "error"
-
before: false
# Don't allow irregular whitespace characters in our sheet.
no-irregular-whitespace:
- "error"
-
skipStrings: false
skipComments: false

17
.github/workflows/linting.yml vendored Normal file
View File

@ -0,0 +1,17 @@
---
name: Linting
on: [push, pull_request]
jobs:
build:
name: Run ESLint on user.js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install -g eslint
- run: eslint user.js

View File

@ -1,8 +0,0 @@
language: node_js
node_js:
- 'node'
before_script:
- npm install -g acorn
script:
- acorn --silent user.js

View File

@ -1,32 +1,40 @@
# Thunderbird User.JS # Thunderbird User.JS
> An ongoing comprehensive user.js template for configuring and hardening Thunderbird privacy, security and anti-fingerprinting > Thunderbird privacy, security and anti-fingerprinting: a comprehensive user.js template for configuration and hardening
### :large_blue_diamond: user.js ### :purple_square: user.js
An `user.js` is a configuration file that can control hundreds of Thunderbird settings. An `user.js` is a configuration file that can control hundreds of Thunderbird settings.
For a more technical breakdown and explanation, you can read more on the [overview](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/1.1-Overview) Wiki page. For a more technical breakdown and explanation, you can read more on the [overview](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/1.1-Overview) Wiki page.
### :large_blue_diamond: thunderbird user.js ### :green_square: Thunderbird user.js
The Thunderbird `user.js` is a **template** which aims to provide as much privacy and enhanced security as possible. [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
It differs from the `ghacks user.js` in that the focus is to keep Thunderbird as an **email client** and disable as many web browsing features as possible. We believe web browsing should be done in a web browser, and not an email client.
- If you're using Thunderbird with Tor we suggest that you install the [TorBirdy](https://addons.thunderbird.net/addon/torbirdy) add-on. If you are using Tor, you should also consider using [Tails](https://tails.boum.org/) or [Whonix](https://www.whonix.org/). The `thunderbird user.js` is a **template** which aims to provide as much privacy and enhanced security as possible.
- If you're a **Gmail** user see [this article about OAuth2](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/3.1-OAuth2-Users). It differs from the `arkenfox user.js` in that the focus is to keep Thunderbird as an **email client** and disable as many web browsing features as possible. We believe web browsing should be done in a web browser, and not an email client.
- For information about [extensions](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/4.1-Extensions), see the Wiki. **Calendar** users should [see this page](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/4.1.1-Calendar).
- If you're using Thunderbird (< 68) with Tor we suggest that you install the [TorBirdy](https://addons.thunderbird.net/addon/torbirdy) add-on. If you are using Tor, you should also consider using [Tails](https://tails.boum.org/) or [Whonix](https://www.whonix.org/).
- If you're using **Gmail**, please check [this article about OAuth2](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/3.1-OAuth2-Users).
- For information about [extensions](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/4.1-Extensions), see the Wiki.
- **Calendar** users should [see this page](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/4.1.1-Calendar).
Also be aware that this `user.js` is made specifically for Thunderbird and has only been tested in the latest stable release. Also be aware that this `user.js` is made specifically for Thunderbird and has only been tested in the latest stable release.
### :large_blue_diamond: Acknowledgments ### :orange_square: Sitemap
* [tya99](https://github.com/tya99) most of the ground work and initial port from the Firefox version of [ghacks user.js](https://github.com/ghacksuserjs/ghacks-user.js) - [Releases](https://github.com/HorlogeSkynet/thunderbird-user.js/releases)
* [dngray](https://github.com/dngray) continual maintenance and Wiki - [Issues](https://github.com/HorlogeSkynet/thunderbird-user.js/issues)
* [HorlogeSkynet](https://github.com/HorlogeSkynet) continual maintenance - [Wiki](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki)
### :large_blue_diamond: Related Projects ### :red_square: Acknowledgments
* [CHEF-KOCH/TBCK](https://github.com/CHEF-KOCH/TBCK) * @tya99 most of the ground work and initial port from the Firefox version of [arkenfox user.js](https://github.com/arkenfox/user.js)
* [Privacy Handbuch](https://www.privacy-handbuch.de/handbuch_31d.htm) * [@dngray](https://github.com/dngray) continual maintenance and Wiki
* [@HorlogeSkynet](https://github.com/HorlogeSkynet) continual maintenance
### :large_blue_diamond: [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ### :blue_square: Related Projects
* [Privacy Handbuch](https://www.privacy-handbuch.de/handbuch_31p.htm)
* [Privacy Haters](http://r-36.net/scm/privacy-haters/file/README.md.html)
* ~~CHEF-KOCH/TBCK~~

999
user.js

File diff suppressed because it is too large Load Diff