diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-06-11 14:42:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 14:42:11 +0200 |
commit | b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e (patch) | |
tree | a68db88b7aa33f84961dac6fd7062f21b3e6429a /application/palemoon/components/preferences/privacy.xul | |
parent | bcb73db295d43574ded5376bae806fc18d50e21a (diff) | |
parent | a250b46a0b6f7659bd14beef2b06f59c80e51e9c (diff) | |
download | UXP-b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e.tar UXP-b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e.tar.gz UXP-b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e.tar.lz UXP-b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e.tar.xz UXP-b1d82a62259c6888ea6f3f71f3e0973ea4b4e85e.zip |
Merge pull request #474 from JustOff/PR_dnt_two_state
[PALEMOON] Change the three-state DoNotTrack controls to a simple on/off switch
Diffstat (limited to 'application/palemoon/components/preferences/privacy.xul')
-rw-r--r-- | application/palemoon/components/preferences/privacy.xul | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/application/palemoon/components/preferences/privacy.xul b/application/palemoon/components/preferences/privacy.xul index 057d549a9..bdb227c63 100644 --- a/application/palemoon/components/preferences/privacy.xul +++ b/application/palemoon/components/preferences/privacy.xul @@ -30,9 +30,6 @@ <preference id="privacy.donottrackheader.enabled" name="privacy.donottrackheader.enabled" type="bool"/> - <preference id="privacy.donottrackheader.value" - name="privacy.donottrackheader.value" - type="int"/> <!-- XXX button prefs --> <preference id="pref.privacy.disable_button.cookie_exceptions" @@ -239,17 +236,11 @@ <!-- Tracking --> <tabpanel id="trackingPanel" orient="vertical"> - <radiogroup id="doNotTrackSelection" orient="vertical" - preference="privacy.donottrackheader.value" - onsynctopreference="return gPrivacyPane.setTrackingPrefs()" - onsyncfrompreference="return gPrivacyPane.getTrackingPrefs()"> - <radio id="dntnotrack" value="1" label="&dntTrackingNotOkay.label2;" - accesskey="&dntTrackingNotOkay.accesskey;" /> - <radio id="dntdotrack" value="0" label="&dntTrackingOkay.label2;" - accesskey="&dntTrackingOkay.accesskey;" /> - <radio id="dntnopref" value="-1" label="&dntTrackingNopref.label2;" - accesskey="&dntTrackingNopref.accesskey;" /> - </radiogroup> + <checkbox id="privacyDoNotTrackCheckbox" + label="&dntTrackingNotOkay.label2;" + accesskey="&dntTrackingNotOkay.accesskey;" + preference="privacy.donottrackheader.enabled"/> + <separator class="thin"/> <label class="text-link" id="doNotTrackInfo" href="https://www.mozilla.org/dnt" value="&doNotTrackInfo.label;"/> |