2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
3
- License, v. 2.0. If a copy of the MPL was not distributed with this
4
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
5
- ==================================================================
6
- Mozilla Firefox preferences tab.
10
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
11
<!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/cookiekeeper.dtd" >
16
<overlay id="cookiekeeper-overlay-prefs-pane-firefox"
17
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
19
<prefpane id="cookiekeeper-prefs-pane-browser"
21
onpaneload="gCookieKeeperFirefoxPrefs.init();">
23
<preferences id="privacyPreferences">
24
<preference id="browser.privatebrowsing.autostart"
25
name="browser.privatebrowsing.autostart"
26
onchange="gCookieKeeperFirefoxPrefs.updateUI();"
28
<preference id="privacy.sanitize.sanitizeOnShutdown"
29
name="privacy.sanitize.sanitizeOnShutdown"
30
onchange="gCookieKeeperFirefoxPrefs.updateUI();"
32
<preference id="privacy.clearOnShutdown.cookies"
33
name="privacy.clearOnShutdown.cookies"
34
onchange="gCookieKeeperFirefoxPrefs.updateUI();"
36
<preference id="network.cookie.cookieBehavior"
37
name="network.cookie.cookieBehavior"
38
onchange="gCookieKeeperFirefoxPrefs.updateUI();"
40
<preference id="network.cookie.lifetimePolicy"
41
name="network.cookie.lifetimePolicy"
42
onchange="gCookieKeeperFirefoxPrefs.updateUI();"
44
<preference id="network.cookie.lifetime.days"
45
name="network.cookie.lifetime.days"
46
type="int"/> <!-- onchange="gCookieKeeperFirefoxPrefs.onLifetimeDaysChange();" -->
49
<vbox id="boxContent" class="contentPane" flex="1">
50
<separator class="thin"/>
52
<checkbox id="privateBrowsingAutoStart"
54
label="&privateBrowsingPermanent2.label;"
55
accesskey="&privateBrowsingPermanent2.accesskey;"
56
preference="browser.privatebrowsing.autostart"/>
57
<image id="imgWarnPrivateBrowsingAutoStart" accessibleType="1009" hidden="true"
58
tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png"/>
61
<separator class="thin"/>
62
<checkbox id="sanitizeOnShutdown"
64
label="&clearOnClose.label;"
65
accesskey="&clearOnClose.accesskey;"
66
preference="privacy.sanitize.sanitizeOnShutdown"/>
68
<checkbox id="clearOnShutDownCookies"
70
label="&itemCookies.label;"
71
accesskey="&itemCookies.accesskey;"
72
preference="privacy.clearOnShutdown.cookies"/>
73
<image id="imgWarnClearOnShutDownCookies" accessibleType="1009" hidden="true"
74
tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png"/>
77
<separator class="thin"/>
78
<groupbox id="acceptPolicyGroup" align="start">
79
<caption label="&acceptpolicy.caption;"/>
84
preference="network.cookie.cookieBehavior">
85
<radio id="acceptPolicyAll" value="0" accessibleType="1015"
86
label="&acceptpolicy.all.radio;" accesskey="&acceptpolicy.all.accesskey;" />
87
<radio id="acceptPolicyRTP" value="1" accessibleType="1015"
88
label="&acceptpolicy.rtp.radio;" accesskey="&acceptpolicy.rtp.accesskey;" />
89
<hbox align="baseline">
90
<radio id="acceptPolicyNone" value="2" accessibleType="1015"
91
label="&acceptpolicy.none.radio;"
92
accesskey="&acceptpolicy.none.accesskey;" />
93
<image id="imgWarnAcceptNone" accessibleType="1009" hidden="true"
94
tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
96
<radio id="acceptPolicyRUn" value="3" accessibleType="1015"
97
label="&acceptpolicy.run.radio;" accesskey="&acceptpolicy.run.accesskey;" />
101
<separator class="thin"/>
102
<groupbox id="lifetimePolicyGroup" align="start">
103
<caption label="&lifetime.caption;"/>
104
<radiogroup id="lifetimePolicyRG"
106
accessibleType="1016"
107
preference="network.cookie.lifetimePolicy">
108
<radio id="lifetimePolicyNormal" value="0" accessibleType="1015"
109
label="&lifetime.normal.radio;" accesskey="&lifetime.normal.accesskey;" />
110
<radio id="lifetimePolicyAsk" value="1" accessibleType="1015"
111
label="&lifetime.ask.radio;" accesskey="&lifetime.ask.accesskey;" />
112
<hbox align="baseline">
113
<radio id="lifetimePolicySession" value="2" accessibleType="1015"
114
label="&lifetime.downgrade.radio;"
115
accesskey="&lifetime.downgrade.accesskey;" />
116
<image id="imgWarnPolicySession" accessibleType="1009" hidden="true"
117
tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
119
<hbox align="baseline">
120
<radio id="lifetimePolicy" value="3" accessibleType="1015"
121
label="&lifetime.limit.radio;" accesskey="&lifetime.limit.accesskey;" />
122
<textbox id="tbLifetimeDays" type="number" size="4" min="1" max="3650" accessibleType="101B"
123
preference="network.cookie.lifetime.days" />
124
<label id="labelLifetimePolicy" value="&lifetime.limit.days;"/>