~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/prefs.browser.xul

  • Committer: Yvon TANGUY
  • Date: 2014-04-09 19:37:40 UTC
  • Revision ID: vono@vono.zsh.jp-20140409193740-1cqp6j5bgei4g91n
Fix #1305252 : Regression: preference extensions.cookiekeeper.version not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<!--
3
 
   - CookieKeeper - a Mozilla add-on
4
 
   - (c) 2013-2016 Yvon TANGUY
5
 
   -
6
 
   - ==================================================================
7
 
   - This Source Code Form is subject to the terms of the Mozilla Public
8
 
   - License, v. 2.0. If a copy of the MPL was not distributed with this
9
 
   - file, You can obtain one at http://mozilla.org/MPL/2.0/.
10
 
   - ==================================================================
11
 
   - Mozilla preferences tab.
12
 
 -->
13
 
 
14
 
<!DOCTYPE overlay [
15
 
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
16
 
  <!ENTITY % preferencesDTD SYSTEM "chrome://cookiekeeper/locale/preferences.dtd" >
17
 
  %brandDTD;
18
 
  %preferencesDTD;
19
 
]>
20
 
 
21
 
<overlay id="cookiekeeper-overlay-prefs-pane-browser"
22
 
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
23
 
 
24
 
  <prefpane id="cookiekeeper-prefs-pane-browser"
25
 
            flex="1"
26
 
            onpaneload="gCookieKeeperBrowserXULPrefs.init();">
27
 
 
28
 
    <script src="chrome://cookiekeeper/content/prefs.browser.js" type="application/x-javascript" />
29
 
 
30
 
    <preferences id="privacyPreferences">
31
 
      <preference id="browser.privatebrowsing.autostart"
32
 
                name="browser.privatebrowsing.autostart"
33
 
                type="bool"
34
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
35
 
      <preference id="privacy.sanitize.sanitizeOnShutdown"
36
 
                name="privacy.sanitize.sanitizeOnShutdown"
37
 
                type="bool"
38
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
39
 
      <preference id="privacy.clearOnShutdown.cookies"
40
 
                name="privacy.clearOnShutdown.cookies"
41
 
                type="bool"
42
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();"/>
43
 
      <preference id="privacy.item.cookies"
44
 
                name="privacy.item.cookies"
45
 
                type="bool"
46
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
47
 
      <preference id="network.cookie.cookieBehavior"
48
 
                name="network.cookie.cookieBehavior"
49
 
                type="int"
50
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
51
 
      <preference id="network.cookie.lifetimePolicy"
52
 
                name="network.cookie.lifetimePolicy"
53
 
                type="int"
54
 
                onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
55
 
      <preference id="network.cookie.lifetime.days"
56
 
                name="network.cookie.lifetime.days"
57
 
                type="int"/>
58
 
      <preference id="network.cookie.thirdparty.sessionOnly"
59
 
                name="network.cookie.thirdparty.sessionOnly"
60
 
                type="bool" />
61
 
    </preferences>
62
 
 
63
 
    <vbox id="browser_vbox_content" class="contentPane">
64
 
 
65
 
      <vbox id="browser_vbox_private_browsing">
66
 
        <separator class="thin" />
67
 
        <hbox id="browser_hbox_private_browsing">
68
 
          <checkbox id="browser_checkbox_private_browsing_autostart"
69
 
                    accessibleType="1003"
70
 
                    label="&privateBrowsingPermanent2.label;"
71
 
                    accesskey="&privateBrowsingPermanent2.accesskey;"
72
 
                    preference="browser.privatebrowsing.autostart" />
73
 
          <image  id="browser_image_warn_private_browsing_autostart" accessibleType="1009" hidden="true"
74
 
                  tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
75
 
        </hbox>
76
 
      </vbox>
77
 
 
78
 
      <vbox id="browser_vbox_sanitize">
79
 
        <separator class="thin"/>
80
 
        <checkbox id="browser_checkbox_sanitize_on_shutdown"
81
 
                  accessibleType="1003"
82
 
                  label="&cb.clearOnClose.label;"
83
 
                  accesskey="&cb.clearOnClose.accesskey;"
84
 
                  preference="privacy.sanitize.sanitizeOnShutdown" />
85
 
        <hbox class="indent">
86
 
          <checkbox id="browser_checkbox_sanitize_on_shutdown_cookies"
87
 
                    accessibleType="1003"
88
 
                    label="&cb.cookies.label;"
89
 
                    accesskey="&cb.cookies.accesskey;"
90
 
                    preference="privacy.clearOnShutdown.cookies" />
91
 
          <checkbox id="seamonkey_checkbox_sanitize_on_shutdown_cookies"
92
 
                    accessibleType="1003"
93
 
                    label="&cb.cookies.label;"
94
 
                    accesskey="&cb.cookies.accesskey;"
95
 
                    preference="privacy.item.cookies" />
96
 
          <image  id="browser_image_warn_sanitize_on_shutdown_cookies" accessibleType="1009" hidden="true"
97
 
                  tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png"/>
98
 
        </hbox>
99
 
      </vbox>
100
 
 
101
 
      <separator class="thin"/>
102
 
      <groupbox id="browser_groupbox_accept_policy" align="start">
103
 
        <caption label="&acceptpolicy.caption;"/>
104
 
        <radiogroup
105
 
          id="browser_radiogroup_accept_policy"
106
 
          orient="vertical"
107
 
          accessibleType="1016"
108
 
          preference="network.cookie.cookieBehavior">
109
 
          <radio id="browser_radio_accept_all" value="0" accessibleType="1015"
110
 
                 label="&acceptpolicy.all.radio;" accesskey="&acceptpolicy.all.accesskey;" />
111
 
          <radio id="browser_radio_accept_rtp" value="1" accessibleType="1015"
112
 
                 label="&acceptpolicy.rtp.radio;" accesskey="&acceptpolicy.rtp.accesskey;" />
113
 
          <hbox align="baseline">
114
 
            <radio id="browser_radio_accept_none" value="2" accessibleType="1015"
115
 
                   label="&acceptpolicy.none.radio;"
116
 
                   accesskey="&acceptpolicy.none.accesskey;" />
117
 
            <image  id="browser_image_warn_accept_none" accessibleType="1009" hidden="true"
118
 
                    tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
119
 
          </hbox>
120
 
          <radio id="browser_radio_accept_run" value="3" accessibleType="1015"
121
 
                 label="&acceptpolicy.run.radio;" accesskey="&acceptpolicy.run.accesskey;" />
122
 
        </radiogroup>
123
 
      </groupbox>
124
 
 
125
 
      <separator class="thin"/>
126
 
      <groupbox id="browser_groupbox_lifetime_policy" align="start">
127
 
        <caption label="&lifetime.caption;"/>
128
 
        <radiogroup id="browser_radiogroup_lifetime_policy"
129
 
                    orient="vertical"
130
 
                    accessibleType="1016"
131
 
                    preference="network.cookie.lifetimePolicy">
132
 
          <radio id="browser_radio_lifetime_normal" value="0" accessibleType="1015"
133
 
                 label="&lifetime.normal.radio;" accesskey="&lifetime.normal.accesskey;" />
134
 
          <hbox align="baseline">
135
 
            <radio id="browser_radio_lifetime_session" value="2" accessibleType="1015"
136
 
                   label="&lifetime.downgrade.radio;"
137
 
                   accesskey="&lifetime.downgrade.accesskey;" />
138
 
            <image  id="browser_image_warn_lifetime_session" accessibleType="1009" hidden="true"
139
 
                    tooltiptext="&warning.image.tooltip;"  src="chrome://cookiekeeper/skin/warning24.png" />
140
 
          </hbox>
141
 
          <hbox align="baseline">
142
 
            <radio id="browser_radio_lifetime_limit" value="3" accessibleType="1015"
143
 
                   label="&lifetime.limit.radio;" accesskey="&lifetime.limit.accesskey;" />
144
 
            <textbox id="browser_textbox_lifetime_limit" type="number" size="4" min="1" max="3650" accessibleType="101B"
145
 
                     preference="network.cookie.lifetime.days" />
146
 
            <label id="browser_label_lifetime_limit" value="&lifetime.limit.days;"/>
147
 
          </hbox>
148
 
        </radiogroup>
149
 
        <checkbox id="browser_checkbox_thirdparty_sessiononly"
150
 
            accessibleType="1003"
151
 
            label="&lifetime.thirdparty.label;"
152
 
            accesskey="&lifetime.thirdparty.accesskey;"
153
 
            preference="network.cookie.thirdparty.sessionOnly"/>
154
 
      </groupbox>
155
 
    </vbox>
156
 
  </prefpane>
157
 
 
158
 
</overlay>