dotfiles/.librewolf/librewolf.overrides.cfg

23 lines
832 B
JavaScript

// vim: ft=javascript
defaultPref("identity.fxaccounts.enabled", true);
defaultPref("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0");
defaultPref("webgl.disabled", false);
defaultPref("browser.sessionstore.resume_from_crash", false);
// If enabled, fails with "Server is missing xdg_foreign support" on river and the GTK portal.
defaultPref("widget.use-xdg-desktop-portal.file-picker", 0);
[
"cache", "cookies", "history", "offlineApps", "sessions"
].forEach(s => defaultPref(`privacy.clearOnShutdown.${s}`, false));
[
"cache", "cookiesAndStorage"
].forEach(s => defaultPref(`privacy.clearOnShutdown_v2.${s}`, false))
// Needs to be disabled to enable dark mode
defaultPref("privacy.resistFingerprinting", false);
// TODO: somehow enable dark mode declaratively