From f6c0009df7b837c30c8d319d1fb4b21e90bd812d Mon Sep 17 00:00:00 2001 From: intrigeri Date: Tue, 3 Jul 2018 18:09:33 +0000 Subject: [PATCH] Tell Firefox to set language setting to English (refs: #15706) This probably won't be enough to fix #15706 ("Tor Browser 8 always prompts wrt. asking webpages in English") until https://trac.torproject.org/projects/tor/ticket/26409 is fixed. But once Torbutton is fixed, then this should avoid Firefox prompting the user. --- .../usr/share/tails/tor-browser-prefs.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/chroot_local-includes/usr/share/tails/tor-browser-prefs.js b/config/chroot_local-includes/usr/share/tails/tor-browser-prefs.js index 0df0656756..d527ec181b 100644 --- a/config/chroot_local-includes/usr/share/tails/tor-browser-prefs.js +++ b/config/chroot_local-includes/usr/share/tails/tor-browser-prefs.js @@ -13,6 +13,10 @@ pref("extensions.torbutton.show_slider_notification", false); pref("app.update.enabled", false); // Suppress prompt and always spoof useragent as English +pref("privacy.spoof_english", 2); +// XXX: Now handled by privacy.spoof_english; remove the next two +// lines once Tor Button stops doing it itself in addition to what +// Firefox does. pref("extensions.torbutton.spoof_english", true); pref("extensions.torbutton.prompted_language", true); -- GitLab