Last active
January 12, 2025 19:42
-
-
Save HorlogeSkynet/eda281b2b4ff6bb6674d77d4e823431a to your computer and use it in GitHub Desktop.
HorlogeSkynet's (Arkenfox) User.JS override scripts, for Firefox & Thunderbird
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
>> HorlogeSkynet's Arkenfox User.JS override preferences << | |
Version: v0.11.2 | |
Upstream version: 133.0 | |
Installation : Follow <https://github.com/arkenfox/user.js/wiki/3.4-Apply-&-Update-&-Maintain>. | |
Note : This is an OVERRIDE script for <https://github.com/arkenfox/user.js>, DO NOT USE IT ALONE. | |
*/ | |
// Re-enables 'about:home' page for startup landing page and new tabs. | |
/* 0102 */ user_pref("browser.startup.page", 1); | |
/* 0103 */ user_pref("browser.startup.homepage", "about:home"); | |
/* 0104 */ user_pref("browser.newtabpage.enabled", true); | |
// Don't throw away sessions on Firefox shutdown. | |
/* 2815 */ user_pref("privacy.clearOnShutdown.cookies", false); | |
user_pref("privacy.clearOnShutdown.sessions", false); | |
user_pref("privacy.clearOnShutdown_v2.cookiesAndStorage", false); | |
// Re-enables WebGL. | |
/* 4520 */ user_pref("webgl.disabled", false); | |
/* Personal tweaks unrelated to Arkenfox User.JS */ | |
// Disable downloads button auto-hiding. | |
user_pref("browser.download.autohideButton", false); | |
// Enables navigation bar search widget. | |
user_pref("browser.search.widget.inNavBar", true); | |
// Disables CTRL + Q quit shortcut. | |
user_pref("browser.quitShortcut.disabled", true); | |
// Disables cycling through tabs in recently used order when CTRL+TAB. | |
user_pref("browser.ctrlTab.recentlyUsedOrder", false); | |
// Enables tabs switching, by scrolling with mouse wheel on tabs bar. | |
user_pref("toolkit.tabbox.switchByScrolling", true); | |
// Enables warning when closing multiple tabs window. | |
user_pref("browser.tabs.warnOnClose", true); | |
// Enables spell-check by default for **all** inputs. | |
user_pref("layout.spellcheckDefault", 2); | |
// Enables `prefers-color-scheme` CSS media feature. | |
user_pref("ui.systemUsesDarkTheme", 1); | |
// Disables Pocket extension. | |
user_pref("extensions.pocket.enabled", false); | |
// Sets Quad9's DoH resolver as TRR. | |
// From <https://quad9.net/doh-quad9-dns-servers/#UsingDoHwithQuad9DNSServers-Firefox> | |
// ... and <https://wiki.mozilla.org/Trusted_Recursive_Resolver>. | |
user_pref("network.trr.mode", 2); | |
user_pref("network.trr.custom_uri", "Quad9"); | |
user_pref("network.trr.uri", "https://dns.quad9.net:5053/dns-query"); | |
user_pref("network.trr.bootstrapAddress", "9.9.9.9"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
>> HorlogeSkynet's Thunderbird User.JS override preferences << | |
Version: v0.11.1 | |
Upstream version: v128.0 | |
Installation : Follow <https://github.com/HorlogeSkynet/thunderbird-user.js/wiki/1.3-Implementation>. | |
Notes : | |
* This is an OVERRIDE script for <https://github.com/HorlogeSkynet/thunderbird-user.js>, DO NOT USE IT ALONE. | |
* Full disclosure 2019-11-24 : I'm now the maintainer of the above template too. | |
*/ | |
// Disable resuming session from crash. | |
/* 5008 */ user_pref("browser.sessionstore.resume_from_crash", false); | |
// Don't disable timezone conversion. | |
/* 6023 */ user_pref("mailnews.display.original_date", true); | |
// Disable return receipt sending unconditionally. | |
/* 9090 */ user_pref("mail.mdn.report.enabled", false); | |
// Automatically sets the spell checker to French. | |
/* 9211 */ user_pref("spellchecker.dictionary", "fr-FR"); | |
// Compose email in plaintext unless expressly overridden. | |
/* 9212 */ user_pref("mail.html_compose", false); | |
// Send only plaintext email by default. | |
/* 9213 */ user_pref("mail.default_send_format", 1); | |
// Set calendar timezone. | |
/* 9312 */ user_pref("calendar.timezone.local", "Europe/Paris"); | |
/* Personal tweaks unrelated to Thunderbird-User.JS */ | |
// Enables tabs switching, by scrolling with mouse wheel on tabs bar. | |
user_pref("toolkit.tabbox.switchByScrolling", true); | |
// Don't warn when customizing "From" address. | |
user_pref("mail.compose.warned_about_customize_from", true); | |
// Replaces spaces by underscores in file name when saving email to disk. | |
user_pref("mail.save_msg_filename_underscores_for_space", true); | |
// Automatically marks messages as read after displaying them for 2 seconds. | |
user_pref("mailnews.mark_message_read.delay", true); | |
user_pref("mailnews.mark_message_read.delay.interval", 2); | |
// Sets Quad9's DoH resolver as TRR (see 0710 & 0712). | |
// From <https://quad9.net/doh-quad9-dns-servers/#UsingDoHwithQuad9DNSServers-Firefox>. | |
// ... and <https://wiki.mozilla.org/Trusted_Recursive_Resolver>. | |
user_pref("network.trr.mode", 2); | |
user_pref("network.trr.custom_uri", "Quad9"); | |
user_pref("network.trr.uri", "https://dns.quad9.net:5053/dns-query"); | |
user_pref("network.trr.bootstrapAddress", "9.9.9.9"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment