commit 1b92582f7ef5bec693b01bc78672122add405834
Author: Arthur Edelstein <arthuredelst...@gmail.com>
Date:   Mon Oct 3 08:29:35 2016 +0000

    Bug 20244.1: Add "privacy.resistFingerprinting" checkbox
---
 browser/components/preferences/in-content/privacy.xul        | 11 +++++++++++
 browser/locales/en-US/chrome/browser/preferences/privacy.dtd |  2 ++
 2 files changed, 13 insertions(+)

diff --git a/browser/components/preferences/in-content/privacy.xul 
b/browser/components/preferences/in-content/privacy.xul
index beb1800..bdadcc5 100644
--- a/browser/components/preferences/in-content/privacy.xul
+++ b/browser/components/preferences/in-content/privacy.xul
@@ -19,6 +19,9 @@
   <preference id="privacy.trackingprotection.pbmode.enabled"
               name="privacy.trackingprotection.pbmode.enabled"
               type="bool"/>
+  <preference id="privacy.resistFingerprinting"
+              name="privacy.resistFingerprinting"
+              type="bool"/>
 
   <!-- XXX button prefs -->
   <preference id="pref.privacy.disable_button.cookie_exceptions"
@@ -127,6 +130,14 @@
               preference="pref.privacy.disable_button.change_blocklist"/>
     </hbox>
   </vbox>
+  <vbox id="resistFingerprinting">
+    <hbox align="center">
+      <checkbox id="resistFingerprintingCB"
+                preference="privacy.resistFingerprinting"
+                accesskey="&resistFingerprinting.accesskey;"
+                label="&resistFingerprinting.label;" />
+    </hbox>
+  </vbox>
 </groupbox>
 
 <!-- History -->
diff --git a/browser/locales/en-US/chrome/browser/preferences/privacy.dtd 
b/browser/locales/en-US/chrome/browser/preferences/privacy.dtd
index cb2dce6..ce3330e 100644
--- a/browser/locales/en-US/chrome/browser/preferences/privacy.dtd
+++ b/browser/locales/en-US/chrome/browser/preferences/privacy.dtd
@@ -13,6 +13,8 @@
 <!ENTITY trackingProtectionPBM5.label         "Use Tracking Protection in 
Private Windows">
 <!ENTITY trackingProtectionPBM5.accesskey     "v">
 <!ENTITY trackingProtectionPBMLearnMore.label "Learn more">
+<!ENTITY resistFingerprinting.label "Change details that distinguish you from 
other Tor Browser users">
+<!ENTITY resistFingerprinting.accesskey "F">
 <!ENTITY changeBlockList.label          "Change Block List">
 <!ENTITY changeBlockList.accesskey      "C">
 



_______________________________________________
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to