forked from yokoffing/Betterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibrewolf.overrides.cfg
111 lines (91 loc) · 4.95 KB
/
librewolf.overrides.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//
/* You may copy+paste this file and use it as it is.
*
* If you make changes to your about:config while the program is running, the
* changes will be overwritten by this file when the application restarts.
*
* To make lasting changes to preferences, you will have to edit this file.
*/
/****************************************************************************
* Betterfox - LibreWolf overrides (beta) *
* Quis custodiet ipsos custodes *
* version: November 2022 *
* url: https://github.com/yokoffing/Betterfox *
* license: https://github.com/yokoffing/Betterfox/blob/master/LICENSE *
* README: https://github.com/yokoffing/Betterfox/blob/master/README.md *
****************************************************************************/
// Where do I find my librewolf.overrides.cfg? https://librewolf.net/docs/settings/#where-do-i-find-my-librewolfoverridescfg
// LibreWolf default prefs: https://gitlab.com/librewolf-community/settings/-/blob/master/librewolf.cfg
/****************************************************************************
* SECTION: FASTFOX *
****************************************************************************/
defaultPref("layout.css.grid-template-masonry-value.enabled", true);
defaultPref("dom.enable_web_task_scheduling", true);
defaultPref("layout.css.animation-composition.enabled", true);
/****************************************************************************
* SECTION: SECUREFOX *
****************************************************************************/
/** TRACKING PROTECTION ***/
defaultPref("privacy.trackingprotection.emailtracking.enabled", true);
defaultPref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com");
defaultPref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
/** OCSP & CERTS / HPKP ***/
// Use CRLite instead of OCSP
defaultPref("security.OCSP.enabled", 0);
defaultPref("security.OCSP.require", false);
defaultPref("security.pki.crlite_mode", 2);
/** RFP ***/
// Limits refresh rate to 60mHz, breaks timezone, and forced light theme
// [1] https://librewolf.net/docs/faq/#what-are-the-most-common-downsides-of-rfp-resist-fingerprinting
defaultPref("privacy.resistFingerprinting", false);
// WebGL
// Breaks Map sites, NYT articles, Nat Geo, and more
// [1] https://manu.ninja/25-real-world-applications-using-webgl/
defaultPref("webgl.disabled", false);
// DRM
// Netflix, Udemy, Spotify, etc.
defaultPref("media.eme.enabled", true);
/** HTTPS-ONLY MODE ***/
defaultPref("dom.security.https_only_mode_error_page_user_suggestions", true);
/** PASSWORDS AND AUTOFILL ***/
defaultPref("signon.generation.enabled", false);
/** WEBRTC ***/
// Breaks video conferencing
defaultPref("media.peerconnection.ice.no_host", false);
/** PERMISSIONS ***/
defaultPref("permissions.default.geo", 2);
defaultPref("permissions.default.desktop-notification", 2);
defaultPref("dom.push.enabled", false);
/****************************************************************************
* SECTION: PESKYFOX *
****************************************************************************/
/** MOZILLA UI ***/
defaultPref("layout.css.prefers-color-scheme.content-override", 2);
defaultPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
defaultPref("browser.compactmode.show", true);
defaultPref("findbar.highlightAll", true);
/** FULLSCREEN ***/
defaultPref("full-screen-api.transition-duration.enter", "0 0");
defaultPref("full-screen-api.transition-duration.leave", "0 0");
defaultPref("full-screen-api.warning.delay", 0);
defaultPref("full-screen-api.warning.timeout", 0);
/** URL BAR ***/
defaultPref("browser.urlbar.suggest.engines", false);
defaultPref("browser.urlbar.suggest.topsites", false);
defaultPref("browser.urlbar.suggest.calculator", true);
defaultPref("browser.urlbar.unitConversion.enabled", true);
/** AUTOPLAY ***/
// Default breaks some video players
defaultPref("media.autoplay.blocking_policy", 0);
/** DOWNLOADS ***/
defaultPref("browser.download.autohideButton", true);
/** PDF ***/
defaultPref("browser.download.open_pdf_attachments_inline", true);
/** TAB BEHAVIOR ***/
defaultPref("browser.tabs.loadBookmarksInTabs", true);
defaultPref("browser.bookmarks.openInTabClosesMenu", false);
defaultPref("editor.truncate_user_pastes", false);
defaultPref("clipboard.plainTextOnly", true);
/****************************************************************************
* END: BETTERFOX *
****************************************************************************/