From 995f7517921645928a60a80d49eb45bf596a49b0 Mon Sep 17 00:00:00 2001 From: faxboss Date: Tue, 21 Nov 2017 15:06:55 +0100 Subject: [PATCH] Added syspref.js values to minimize fingerprinting, by setting user-agent, locale and platform values to match the 7.0.10 version of Tor Browser. Former-commit-id: f9b4aee2a1613953521b0ca529a8907e726f0395 --- linux/build/preferences/syspref.js | 4 ++++ windows/build/preferences/syspref.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/linux/build/preferences/syspref.js b/linux/build/preferences/syspref.js index d61db3f..8b98d5d 100644 --- a/linux/build/preferences/syspref.js +++ b/linux/build/preferences/syspref.js @@ -337,3 +337,7 @@ pref("media.peerconnection.identity.timeout", 1); pref("media.peerconnection.ice.default_address_only", true); // Disable url prefetch pref("browser.urlbar.speculativeConnect.enabled", false); +// Set platform, user-agent and locale to same values as Tor Browser 7.0.10 +pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0"); +pref("general.useragent.locale", "en-US"); +pref("general.platform.override", "Win32"); diff --git a/windows/build/preferences/syspref.js b/windows/build/preferences/syspref.js index d61db3f..8b98d5d 100644 --- a/windows/build/preferences/syspref.js +++ b/windows/build/preferences/syspref.js @@ -337,3 +337,7 @@ pref("media.peerconnection.identity.timeout", 1); pref("media.peerconnection.ice.default_address_only", true); // Disable url prefetch pref("browser.urlbar.speculativeConnect.enabled", false); +// Set platform, user-agent and locale to same values as Tor Browser 7.0.10 +pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0"); +pref("general.useragent.locale", "en-US"); +pref("general.platform.override", "Win32");