summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsegfault <segfault@riseup.net>2018-10-20 21:00:43 +0200
committersegfault <segfault@riseup.net>2018-10-20 21:16:02 +0200
commit91e47ba410b74ba6c4a82d3894a546ed920ae5e9 (patch)
tree7f1e9edca87336147acac3efff7321b63ee2c8e7
parentdd142431c4c4e3026b7ed2565b31706160ef711c (diff)
Set the firefox preferences to spoof English (refs: #16029)
These are set when privacy.spoof_english is changed to 2, but not if it is already set to 2 when firefox is started. So we set them ourselves to fix the spoofing.
-rw-r--r--config/chroot_local-includes/etc/tor-browser/profile/prefs.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/tor-browser/profile/prefs.js b/config/chroot_local-includes/etc/tor-browser/profile/prefs.js
index d904749..ab11aea 100644
--- a/config/chroot_local-includes/etc/tor-browser/profile/prefs.js
+++ b/config/chroot_local-includes/etc/tor-browser/profile/prefs.js
@@ -1,3 +1,5 @@
// Prefs that *need* to be here because they are not honored
// if we set them via /usr/share/tails/tor-browser-prefs.js
user_pref("extensions.torbutton.launch_warning", false);
+user_pref("intl.accept_languages", "en-US, en");
+user_pref("javascript.use_us_english_locale", true);