mirror of
https://github.com/HorlogeSkynet/thunderbird-user.js.git
synced 2025-09-04 10:58:31 +02:00
Compare commits
2 Commits
version/11
...
v78.2
Author | SHA1 | Date | |
---|---|---|---|
2066e1cf4b | |||
3311fda6d9 |
@ -1,36 +0,0 @@
|
|||||||
// Thunderbird User.JS ESLint configuration file
|
|
||||||
|
|
||||||
import js from "@eslint/js";
|
|
||||||
|
|
||||||
export default [
|
|
||||||
js.configs.recommended,
|
|
||||||
{
|
|
||||||
rules: {
|
|
||||||
// Expect only double-quoted strings.
|
|
||||||
quotes: ["error", "double"],
|
|
||||||
|
|
||||||
// Expect a semicolon after each statement.
|
|
||||||
semi: ["error", "always", {"omitLastInOneLineBlock": false}],
|
|
||||||
|
|
||||||
// As project code style, don't allow tabulation nor trailing whitespaces.
|
|
||||||
"no-tabs": "error",
|
|
||||||
"no-trailing-spaces": "error",
|
|
||||||
|
|
||||||
// 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}],
|
|
||||||
},
|
|
||||||
languageOptions: {
|
|
||||||
// From <https://searchfox.org/mozilla-central/rev/c938c7416c633639a5c8ce4412be586eefb48005/modules/libpref/parser/src/lib.rs#296>
|
|
||||||
globals: {
|
|
||||||
pref: "readonly",
|
|
||||||
user_pref: "readonly",
|
|
||||||
sticky: "readonly",
|
|
||||||
locked: "readonly",
|
|
||||||
sticky_pref: "readonly",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
];
|
|
45
.eslintrc.yml
Normal file
45
.eslintrc.yml
Normal 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
|
8
.github/workflows/linting.yml
vendored
8
.github/workflows/linting.yml
vendored
@ -9,9 +9,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v2
|
||||||
|
|
||||||
- run: npm install eslint @eslint/js
|
- run: npm install -g eslint
|
||||||
- run: npx eslint -c .eslint.config.mjs user.js
|
- run: eslint user.js
|
||||||
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2019-2024 HorlogeSkynet
|
Copyright (c) 2019-2022 HorlogeSkynet
|
||||||
Copyright (c) 2019 dngray
|
Copyright (c) 2019 dngray
|
||||||
Copyright (c) 2019 arkenfox [prev. ghacksuserjs]
|
Copyright (c) 2019 arkenfox [prev. ghacksuserjs]
|
||||||
|
|
||||||
|
25
README.md
25
README.md
@ -2,41 +2,40 @@
|
|||||||
|
|
||||||
> Thunderbird privacy, security and anti-fingerprinting: a comprehensive user.js template for configuration and hardening
|
> Thunderbird privacy, security and anti-fingerprinting: a comprehensive user.js template for configuration and hardening
|
||||||
|
|
||||||
### 🟪 user.js
|
### :purple_square: user.js
|
||||||
|
|
||||||
An `user.js` is a configuration file that can control Thunderbird settings - for a more technical breakdown and explanation, you can read more in the [wiki](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/1.1-Overview).
|
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.
|
||||||
|
|
||||||
### 🟩 Thunderbird user.js
|
### :green_square: Thunderbird user.js
|
||||||
|
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
The `thunderbird user.js` is a **template** which aims to provide as much privacy and enhanced security as possible, and to reduce tracking and fingerprinting as much as possible - while minimizing any loss of functionality and breakage (but it will happen).
|
The `thunderbird user.js` is a **template** which aims to provide as much privacy and enhanced security as possible.
|
||||||
|
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.
|
||||||
Everyone, experts included, should at least read the [wiki](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki), as it contains important information regarding a few `user.js` settings.
|
|
||||||
|
|
||||||
It differs from the `arkenfox user.js` in that the focus is to keep Thunderbird as an **e-mail 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 (< 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 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).
|
- 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.
|
- 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).
|
- **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 is only being tested against releases with extended support (ESR).
|
Also be aware that this `user.js` is made specifically for Thunderbird and has only been tested in the latest stable release.
|
||||||
|
|
||||||
### 🟧 Sitemap
|
### :orange_square: Sitemap
|
||||||
|
|
||||||
- [Releases](https://github.com/HorlogeSkynet/thunderbird-user.js/releases)
|
- [Releases](https://github.com/HorlogeSkynet/thunderbird-user.js/releases)
|
||||||
- [Issues](https://github.com/HorlogeSkynet/thunderbird-user.js/issues)
|
- [Issues](https://github.com/HorlogeSkynet/thunderbird-user.js/issues)
|
||||||
- [Wiki](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki)
|
- [Wiki](https://github.com/HorlogeSkynet/thunderbird-user.js/wiki)
|
||||||
|
|
||||||
### 🟥 Acknowledgments
|
### :red_square: Acknowledgments
|
||||||
|
|
||||||
* @tya99 most of the ground work and initial port from the Firefox version of [arkenfox user.js](https://github.com/arkenfox/user.js)
|
* @tya99 most of the ground work and initial port from the Firefox version of [arkenfox user.js](https://github.com/arkenfox/user.js)
|
||||||
* [@dngray](https://github.com/dngray) continual maintenance and Wiki
|
* [@dngray](https://github.com/dngray) continual maintenance and Wiki
|
||||||
* [@HorlogeSkynet](https://github.com/HorlogeSkynet) continual maintenance
|
* [@HorlogeSkynet](https://github.com/HorlogeSkynet) continual maintenance
|
||||||
|
|
||||||
### 🟦 Related Projects
|
### :blue_square: Related Projects
|
||||||
|
|
||||||
* [Privacy Handbuch](https://www.privacy-handbuch.de/handbuch_31p.htm)
|
* [Privacy Handbuch](https://www.privacy-handbuch.de/handbuch_31p.htm)
|
||||||
* [Privacy Haters](http://r-36.net/scm/privacy-haters/file/README.md.html)
|
* [Privacy Haters](http://r-36.net/scm/privacy-haters/file/README.md.html)
|
||||||
* [12bytes's user-overrides.js](https://codeberg.org/12bytes/thunderbird-user.js-supplement)
|
* [12bytes.org's user-overrides.js](https://codeberg.org/12bytes.org/thunderbird-user.js-supplement)
|
||||||
|
* ~~CHEF-KOCH/TBCK~~
|
||||||
|
Reference in New Issue
Block a user