2023-11-05 11:30:02 +01:00
|
|
|
// ~/.{librewolf,var/app/io.gitlab.librewolf-community/.librewolf}/librewolf.overrides.cfg
|
|
|
|
|
2023-11-04 12:12:52 +01:00
|
|
|
// LibreWolf override configuration, begins with samples from
|
|
|
|
// https://librewolf.net/docs/settings/
|
|
|
|
// Also incorporates some of https://aminda.eu/browser-extensions#firefox-aboutconfig
|
|
|
|
|
2023-11-06 09:02:21 +01:00
|
|
|
// Disable privacy.resistFingerprinting, use CanvasBlocker
|
2024-01-31 13:32:03 +01:00
|
|
|
// as requested to consider by LibreWolf documentation. Alternatively I think
|
|
|
|
// PrivacyBadger is enough considering it blocks canvas from third party sites.
|
2023-11-06 09:02:21 +01:00
|
|
|
// I consider Telemetry closer to voting than spying and I have no desire to
|
|
|
|
// vote for Windows NT as the universal operating system to be supported by
|
|
|
|
// everyone or English to be the only language in the world.
|
|
|
|
// Additionally I get migraines and suffer from floaters when staring at
|
|
|
|
// bright light screen so much and it's just easier to disable this than
|
|
|
|
// continuously click around Midnight Lizard or similar.
|
2023-12-17 13:32:50 +01:00
|
|
|
// Note that this also BREAKS Mobilizon through enforced UTC and thus all
|
|
|
|
// timezones will be three hours off unless caution is exercised. I am not
|
|
|
|
// sure if this also caused weird developery seeming errors about timezones.
|
|
|
|
defaultPref("privacy.resistFingerprinting", false);
|
2023-11-06 09:02:21 +01:00
|
|
|
|
2024-01-20 12:14:58 +01:00
|
|
|
// Disable strict tracking protection for Ad Nauseam, don't use this without
|
|
|
|
// it. Via https://github.com/dhowe/AdNauseam/issues/1747#issuecomment-1397068835
|
|
|
|
// https://addons.mozilla.org/firefox/addon/adnauseam/
|
2024-01-21 09:56:23 +01:00
|
|
|
// DO NOT DO THIS! https://codeberg.org/librewolf/issues/issues/1439
|
|
|
|
//defaultPref("browser.contentblocking.category", "standard");
|
2024-01-20 12:14:58 +01:00
|
|
|
|
2024-02-01 20:34:53 +01:00
|
|
|
// Note to self on disabling protection of Mozilla pages. This may be a
|
|
|
|
// LibreWolf default so thus commented:
|
|
|
|
// via https://www.ghacks.net/2017/10/27/how-to-enable-firefox-webextensions-on-mozilla-websites/
|
|
|
|
//defaultPref("extensions.webextensions.restrictedDomains", "");
|
|
|
|
//defaultPref("privacy.resistFingerprinting.block_mozAddonManage", true);
|
|
|
|
|
2023-11-04 12:12:52 +01:00
|
|
|
// Enable letterboxing
|
|
|
|
defaultPref("privacy.resistFingerprinting.letterboxing", true);
|
|
|
|
|
2023-11-07 13:12:25 +01:00
|
|
|
// Stricter cross-origin policy.
|
|
|
|
//defaultPref("network.http.referer.XOriginPolicy", 2);
|
2023-11-04 12:12:52 +01:00
|
|
|
|
|
|
|
// Enable WebGL
|
|
|
|
//defaultPref("webgl.disabled", false);
|
|
|
|
|
|
|
|
// Enable Firefox accounts
|
|
|
|
defaultPref("identity.fxaccounts.enabled", true);
|
|
|
|
|
2023-11-04 13:16:40 +01:00
|
|
|
// Settings on what to clear on quit
|
|
|
|
// - Goal: let Element Web & co stay logged in
|
|
|
|
defaultPref("privacy.clearOnShutdown.cache", false);
|
|
|
|
defaultPref("privacy.clearOnShutdown.cookies", false);
|
|
|
|
//defaultPref("privacy.clearOnShutdown.downloads", false);
|
|
|
|
//defaultPref("privacy.clearOnShutdown.formdata", false);
|
2023-11-04 12:12:52 +01:00
|
|
|
defaultPref("privacy.clearOnShutdown.history", false);
|
2023-11-04 13:16:40 +01:00
|
|
|
defaultPref("privacy.clearOnShutdown.offlineApps", false);
|
|
|
|
defaultPref("privacy.clearOnShutdown.openWindows", false);
|
|
|
|
defaultPref("privacy.clearOnShutdown.sessions", false);
|
|
|
|
defaultPref("privacy.clearOnShutdown.siteSettings", false);
|
2023-11-04 12:12:52 +01:00
|
|
|
|
|
|
|
// Don't resume from crash (SSD)
|
|
|
|
defaultPref("browser.sessionstore.resume_from_crash", false);
|
|
|
|
|
|
|
|
// Stricter autoplay
|
|
|
|
defaultPref("media.autoplay.blocking_policy", 2);
|
|
|
|
|
|
|
|
// No corporate CA MITM
|
|
|
|
defaultPref("security.certerrors.mitm.auto_enable_enterprise_roots", false);
|
|
|
|
|
|
|
|
// Decrease animations
|
|
|
|
defaultPref("image.animation_mode", "once");
|
|
|
|
|
|
|
|
// Punycode
|
|
|
|
defaultPref("network.IDN_show_punycode", true);
|
|
|
|
|
|
|
|
// Enforce reader mode enabling?
|
|
|
|
defaultPref("reader.parse-on-load.force-enabled", true);
|
|
|
|
|
|
|
|
// TRR & ECH
|
2023-12-19 13:01:56 +01:00
|
|
|
// Mode 2 allows fallback to system resolver, 3 is TTR-only
|
2024-01-20 11:33:20 +01:00
|
|
|
defaultPref("network.trr.mode", 3);
|
|
|
|
//defaultPref("network.trr.mode", 2);
|
2023-11-04 12:12:52 +01:00
|
|
|
defaultPref("network.trr.early-AAAA", true);
|
2024-01-30 20:43:38 +01:00
|
|
|
//defaultPref("network.trr.uri", "https://dns0.eu");
|
|
|
|
defaultPref("network.trr.uri", "https://dns.adguard-dns.com/dns-query");
|
2023-12-19 13:01:56 +01:00
|
|
|
// NOTE: ECH requires TRR, so mode 2 may not use it.
|
2023-12-01 08:57:09 +01:00
|
|
|
defaultPref("network.trr.disable-ECS", false);
|
2023-11-04 12:12:52 +01:00
|
|
|
defaultPref("network.dns.echconfig.enabled", true);
|
|
|
|
defaultPref("network.dns.use_https_rr_as_altsvc", true);
|
2023-12-04 16:04:45 +01:00
|
|
|
defaultPref("network.trr.exclude-etc-hosts", false);
|
2023-11-04 12:12:52 +01:00
|
|
|
defaultPref(
|
|
|
|
"network.trr.excluded-domains",
|
2024-01-27 12:07:38 +01:00
|
|
|
"http.badssl.com,norwegianwifi.com,mywifiext.net,tplinkrepeater.net,router.asus.com",
|
2023-11-04 12:12:52 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
// Default UI scale
|
|
|
|
defaultPref("layout.css.devPixelsPerPx", "1.5");
|
2023-11-05 20:24:23 +01:00
|
|
|
|
|
|
|
// Keep cache on both disk & memory. This is required for
|
|
|
|
// https://github.com/JimmXinu/FanFicFare/wiki/BrowserCacheFeature
|
|
|
|
defaultPref("browser.cache.disk.enable", true);
|
|
|
|
defaultPref("browser.cache.memory.enable", true);
|
2023-12-04 16:04:00 +01:00
|
|
|
|
2023-12-04 16:08:02 +01:00
|
|
|
// Block cookie banners. Warning: may result to auto-accepting cookies.
|
|
|
|
// https://www.ghacks.net/2022/12/24/configure-firefox-to-reject-cookie-banners-automatically/
|
|
|
|
defaultPref("cookiebanners.service.mode", 2);
|
|
|
|
defaultPref("cookiebanners.service.mode.privateBrowsing", 2);
|
|
|
|
defaultPref("cookiebanners.bannerClicking.enabled", true);
|
|
|
|
|
2024-01-20 11:32:23 +01:00
|
|
|
// Start from homepage, don't restore the previous session (excluding pinned tabs)'
|
|
|
|
defaultPref("browser.startup.page", 1);
|
|
|
|
// Simplified DDG experience without prompts for extension and all
|
|
|
|
defaultPref("browser.startup.homepage", "https://start.duckduckgo.com");
|
|
|
|
|
2024-01-26 12:37:54 +01:00
|
|
|
// https://globalprivacycontrol.org/ the successor of DNT
|
|
|
|
defaultPref("privacy.globalprivacycontrol.enabled", true);
|
|
|
|
defaultPref("privacy.globalprivacycontrol.functionality.enabled", true);
|
2024-01-26 13:05:05 +01:00
|
|
|
// and DNT itself
|
|
|
|
defaultPref("privacy.donottrackheader.enabled", true);
|
|
|
|
defaultPref("privacy.donottrackheader.value", 1);
|
2024-01-26 12:37:54 +01:00
|
|
|
|
2024-01-29 17:34:44 +01:00
|
|
|
// vim: filetype=javascript
|