summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/pref/content/pref-security.xul
blob: 6823df7f9e8e0fc76447a6df68ec40ffe0d92cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0"?>

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE overlay [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % prefSecurityDTD SYSTEM "chrome://communicator/locale/pref/pref-security.dtd">
%prefSecurityDTD;
]>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <prefpane id="security_pane" label="&pref.security.title;"
            script="chrome://communicator/content/pref/pref-security.js">
    <preferences id="security_preferences">
      <!-- User Tracking -->
      <preference id="privacy.donottrackheader.enabled"
                  name="privacy.donottrackheader.enabled"
                  type="bool"/>
      <preference id="privacy.trackingprotection.enabled"
                  name="privacy.trackingprotection.enabled"
                  type="bool"
                  onchange="SetWarnTrackEnabled(this.value);"/>
      <preference id="privacy.warn_tracking_content"
                  name="privacy.warn_tracking_content"
                  type="bool"/>

      <!-- Location Aware Browsing -->
      <preference id="geo.enabled"
                  name="geo.enabled"
                  type="bool"/>

      <!-- Safe Browsing -->
      <preference id="browser.safebrowsing.malware.enabled"
                  name="browser.safebrowsing.malware.enabled"
                  type="bool"/>
      <preference id="browser.safebrowsing.phishing.enabled"
                  name="browser.safebrowsing.phishing.enabled"
                  type="bool"/>

      <preference id="accessibility.blockautorefresh"
                  name="accessibility.blockautorefresh"
                  type="bool"/>
    </preferences>

    <!-- User Tracking -->
    <groupbox id="trackingGroup">
      <caption label="&tracking.label;"/>

      <description>&trackingIntro.label;</description>
      <checkbox id="doNotTrack"
                label="&doNotTrack.label;"
                accesskey="&doNotTrack.accesskey;"
                preference="privacy.donottrackheader.enabled"/>
      <checkbox id="trackProtect"
                label="&trackProtect.label;"
                accesskey="&trackProtect.accesskey;"
                preference="privacy.trackingprotection.enabled"/>
      <checkbox id="warnTrackContent"
                class="indent"
                label="&warnTrackContent.label;"
                accesskey="&warnTrackContent.accesskey;"
                preference="privacy.warn_tracking_content"/>
    </groupbox>

    <!-- Location Aware Browsing -->
    <groupbox id="geoLocationGroup">
      <caption label="&geoLocation.label;"/>

      <description>&geoIntro.label;</description>
      <radiogroup id="geoSelection"
                  preference="geo.enabled">
        <radio id="geoEnabled"
               value="true"
               label="&geoEnabled.label;"
               accesskey="&geoEnabled.accesskey;"/>
        <radio id="geoDisabled"
               value="false"
               label="&geoDisabled.label;"
               accesskey="&geoDisabled.accesskey;"/>
      </radiogroup>
    </groupbox>

    <!-- Safe Browsing -->
    <groupbox id="safeBrowsingGroup">
      <caption label="&safeBrowsing.label;"/>

      <description>&safeBrowsingIntro.label;</description>
      <checkbox id="blockAttackSites"
                label="&blockAttackSites.label;"
                accesskey="&blockAttackSites.accesskey;"
                preference="browser.safebrowsing.malware.enabled"/>
      <checkbox id="blockWebForgeries"
                label="&blockWebForgeries.label;"
                accesskey="&blockWebForgeries.accesskey;"
                preference="browser.safebrowsing.phishing.enabled"/>
    </groupbox>

    <vbox class="box-padded" align="start">
      <checkbox id="blockAutoRefresh"
                label="&blockAutoRefresh.label;"
                accesskey="&blockAutoRefresh.accesskey;"
                preference="accessibility.blockautorefresh"/>
    </vbox>
  </prefpane>
</overlay>