LibreAwoo: move pdfjs on top, explicit dark mode

This commit is contained in:
Aminda Suomalainen 2024-02-24 10:17:08 +02:00
parent 3f5ca5d62e
commit 1a1aaa0d96
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -38,6 +38,14 @@ pref("privacy.fingerprintingProtection.pbmode", true);
// usability. https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc // usability. https://searchfox.org/mozilla-central/source/toolkit/components/resistfingerprinting/RFPTargets.inc
pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC"); pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-KeyboardEvents,-SpeechSynthesis,-CSSPrefersColorScheme,-CSSPrefersReducedMotion,-JSDateTimeUTC");
// No JavaScript allowed in internal pdf viewer
pref("pdfjs.enableScripting", false);
// Dark mode
pref("ui.systemUsesDarkTheme", 1);
pref("prefers-color-scheme", "dark");
pref("pdfjs.viewerCssTheme", 2);
// Enable Firefox accounts // Enable Firefox accounts
pref("identity.fxaccounts.enabled", true); pref("identity.fxaccounts.enabled", true);
@ -191,8 +199,6 @@ pref("permissions.manager.defaultsUrl", ""); // revoke special permissions for s
// Aminda stripped safebrowsing here as even in LibreWolf filtering DNS is used + the extensions. // Aminda stripped safebrowsing here as even in LibreWolf filtering DNS is used + the extensions.
pref("pdfjs.enableScripting", false); // disable js scripting in the built-in pdf reader
pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
// Although I doubt they will improve accuracy, why not? // Although I doubt they will improve accuracy, why not?
pref("geo.provider.use_gpsd", true); // [LINUX] pref("geo.provider.use_gpsd", true); // [LINUX]