LibreAwoo: move locales on top, compromise on accept_languages too

This commit is contained in:
Aminda Suomalainen 2024-02-24 10:40:36 +02:00
parent 1a1aaa0d96
commit 58c245be72
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -38,6 +38,12 @@ 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");
// :( but fingerprintability
pref("javascript.use_us_english_locale", true);
//pref("intl.accept_languages", "en-US, en");
// Then again I already lost the fingerprintability game
pref("intl.accept_languages", "fi, en");
// No JavaScript allowed in internal pdf viewer // No JavaScript allowed in internal pdf viewer
pref("pdfjs.enableScripting", false); pref("pdfjs.enableScripting", false);
@ -204,13 +210,6 @@ pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolo
pref("geo.provider.use_gpsd", true); // [LINUX] pref("geo.provider.use_gpsd", true); // [LINUX]
pref("geo.provider.use_geoclue", true); // [LINUX] pref("geo.provider.use_geoclue", true); // [LINUX]
// Aminda: :(
/** [SECTION] LANGUAGE
* show language as en-US for all users, regardless of their OS language and browser language.
* both prefs must use pref() and not defaultPref to work.
*/
pref("javascript.use_us_english_locale", true);
pref("intl.accept_languages", "en-US, en");
// disable region specific updates from mozilla // disable region specific updates from mozilla
pref("browser.region.network.url", ""); pref("browser.region.network.url", "");
pref("browser.region.update.enabled", false); pref("browser.region.update.enabled", false);