3
- CookieKeeper - a Mozilla add-on
4
- (c) 2013-2016 Yvon TANGUY
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.
15
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
16
<!ENTITY % preferencesDTD SYSTEM "chrome://cookiekeeper/locale/preferences.dtd" >
21
<overlay id="cookiekeeper-overlay-prefs-pane-browser"
22
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
24
<prefpane id="cookiekeeper-prefs-pane-browser"
26
onpaneload="gCookieKeeperBrowserXULPrefs.init();">
28
<script src="chrome://cookiekeeper/content/prefs.browser.js" type="application/x-javascript" />
30
<preferences id="privacyPreferences">
31
<preference id="browser.privatebrowsing.autostart"
32
name="browser.privatebrowsing.autostart"
34
onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
35
<preference id="privacy.sanitize.sanitizeOnShutdown"
36
name="privacy.sanitize.sanitizeOnShutdown"
38
onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
39
<preference id="privacy.clearOnShutdown.cookies"
40
name="privacy.clearOnShutdown.cookies"
42
onchange="gCookieKeeperBrowserXULPrefs.updateUI();"/>
43
<preference id="privacy.item.cookies"
44
name="privacy.item.cookies"
46
onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
47
<preference id="network.cookie.cookieBehavior"
48
name="network.cookie.cookieBehavior"
50
onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
51
<preference id="network.cookie.lifetimePolicy"
52
name="network.cookie.lifetimePolicy"
54
onchange="gCookieKeeperBrowserXULPrefs.updateUI();" />
55
<preference id="network.cookie.lifetime.days"
56
name="network.cookie.lifetime.days"
58
<preference id="network.cookie.thirdparty.sessionOnly"
59
name="network.cookie.thirdparty.sessionOnly"
63
<vbox id="browser_vbox_content" class="contentPane">
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"
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" />
78
<vbox id="browser_vbox_sanitize">
79
<separator class="thin"/>
80
<checkbox id="browser_checkbox_sanitize_on_shutdown"
82
label="&cb.clearOnClose.label;"
83
accesskey="&cb.clearOnClose.accesskey;"
84
preference="privacy.sanitize.sanitizeOnShutdown" />
86
<checkbox id="browser_checkbox_sanitize_on_shutdown_cookies"
88
label="&cb.cookies.label;"
89
accesskey="&cb.cookies.accesskey;"
90
preference="privacy.clearOnShutdown.cookies" />
91
<checkbox id="seamonkey_checkbox_sanitize_on_shutdown_cookies"
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"/>
101
<separator class="thin"/>
102
<groupbox id="browser_groupbox_accept_policy" align="start">
103
<caption label="&acceptpolicy.caption;"/>
105
id="browser_radiogroup_accept_policy"
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" />
120
<radio id="browser_radio_accept_run" value="3" accessibleType="1015"
121
label="&acceptpolicy.run.radio;" accesskey="&acceptpolicy.run.accesskey;" />
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"
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" />
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;"/>
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"/>