// vim: ft=javascript defaultPref("identity.fxaccounts.enabled", true); 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