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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
|
<!DOCTYPE html>
<!--
- CookieKeeper - a Mozilla add-on
- (c) 2013-2016 Yvon TANGUY
-
- ==================================================================
- 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/.
- ==================================================================
-
- Preferences HTML tab.
-->
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width">
<link href="chrome://cookiekeeper/skin/preferences_tab.css" media="screen" rel="stylesheet" type="text/css">
<link rel="icon" href="chrome://cookiekeeper/skin/cookie24.png">
<title data-l10n-id="ck.head.title">CookieKeeper Preferences</title>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/common.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/ck.html.dyn_table.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/ck.permissions.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/preferences.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/prefs.pcookies.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/prefs.permissions.js"></script>
<script type="application/javascript;version=1.8" src="chrome://cookiekeeper/content/prefs.browser.js"></script>
</head>
<body id="cookiekeeper_body_preferences" onload="ckPrefs.init();" onunload="ckPrefs.uninit();">
<div id="div_tab_bar" class="tab_bar" tabindex="1">
<div id="div_tab_selector_1" class="tab_selector">
<img src="chrome://cookiekeeper/skin/tabicon_prefs_ck.svg" class="tab_selector_img">
<span class="tab_selector_span">CookieKeeper</span>
</div>
<div id="div_tab_selector_2" class="tab_selector">
<img src="chrome://cookiekeeper/skin/tabicon_prefs_protections.svg" class="tab_selector_img">
<span data-l10n-id="menu.protections" class="tab_selector_span">Protections</span>
</div>
<div id="div_tab_selector_3" class="tab_selector">
<img src="chrome://cookiekeeper/skin/tabicon_prefs_permissions.svg" class="tab_selector_img">
<span data-l10n-id="menu.permissions" class="tab_selector_span">Permissions</span>
</div>
<div id="div_tab_selector_4" class="tab_selector">
<img src="chrome://cookiekeeper/skin/tabicon_prefs_browser.svg" class="tab_selector_img">
<span data-l10n-id="menu.browser" class="tab_selector_span">Browser</span>
</div>
</div>
<div id="div_content_ck" class="div_prefs_content">
<span class="tab_title">CookieKeeper</span>
<br>
<hr class="hr_title"><br>
<div class="div_cb_block">
<span class="checkbox_block_title" data-l10n-id="ck.span.ondemand">On demand</span>
<input id="ck_cb_ClearOnDemandHsts" type="checkbox" name="cbClearOnDemandHsts" preference="extensions.cookiekeeper.clear_on_demand.hsts">
<label data-l10n-id="ck.cb.ondemand.hsts" for="ck_cb_ClearOnDemandHsts">Clear HSTS</label><br>
<input id="ck_cb_ClearOnDemandLSO" type="checkbox" name="cbClearOnDemandLSO" preference="extensions.cookiekeeper.clear_on_demand.lso">
<label data-l10n-id="ck.cb.ondemand.lso" for="ck_cb_ClearOnDemandLSO">Clear LSO</label><br>
</div>
<div class="div_cb_block">
<span class="checkbox_block_title" data-l10n-id="ck.span.closing">Closing</span>
<input id="ck_cb_ClearAtExitCookies" type="checkbox" name="cbClearAtExitCookies" preference="extensions.cookiekeeper.clear_at_exit.cookies">
<label data-l10n-id="ck.cb.atexit.cookie" for="ck_cb_ClearAtExitCookies">Clear cookies</label><br>
<input id="ck_cb_ClearAtExitDS" type="checkbox" name="cbClearAtExitDS" preference="extensions.cookiekeeper.clear_at_exit.dom">
<label data-l10n-id="ck.cb.atexit.dom" for="ck_cb_ClearAtExitDS">Clear DOM Storage (HTML5)</label><br>
<input id="ck_cb_ClearAtExitLSO" type="checkbox" name="cbClearAtExitLSO" preference="extensions.cookiekeeper.clear_at_exit.lso">
<label data-l10n-id="ck.cb.atexit.lso" for="ck_cb_ClearAtExitLSO">Clear Flash cookies</label><br>
<input id="ck_cb_ClearAtExitHSTS" type="checkbox" name="cbClearAtExitHSTS" preference="extensions.cookiekeeper.clear_at_exit.hsts">
<label data-l10n-id="ck.cb.atexit.hsts" for="ck_cb_ClearAtExitHSTS">Clear HSTS</label><br>
</div>
<div class="div_cb_block">
<span class="checkbox_block_title" data-l10n-id="ck.span.dont_ask">Don't ask…</span>
<input id="ck_cb_DelCookieNoAskAgain" type="checkbox" name="cbDelCookieNoAskAgain" preference="extensions.cookiekeeper.no_ask_again.del_prot">
<label data-l10n-id="ck.cb.noask.del_prot" for="ck_cb_DelCookieNoAskAgain">… to delete protected cookies.</label><br>
<input id="ck_cb_ChExtNoAskAgain" type="checkbox" name="cbChExtNoAskAgain" preference="extensions.cookiekeeper.no_ask_again.change_ext">
<label data-l10n-id="ck.cb.noask.change_ext" for="ck_cb_ChExtNoAskAgain">… to change the export file extension.</label><br>
</div>
<div class="div_cb_block">
<span class="checkbox_block_title" data-l10n-id="ck.span.misc">Misc</span>
<input id="ck_cb_KeepFlashPlayerSettings" type="checkbox" name="cbKeepFlashPlayerSettings" preference="extensions.cookiekeeper.lso.always_keep_main_settings">
<label for="ck_cb_KeepFlashPlayerSettings" data-l10n-id="ck.cb.misc.lso_keep_main_settings">
Never delete the <a href="http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html">Flash Player</a> main settings cookie.
</label><br>
<input id="ck_cb_WarnMozPref" type="checkbox" name="cbWarnMozPref" preference="extensions.cookiekeeper.warn_moz_pref">
<label data-l10n-id="ck.cb.misc.warn_browser_prefs" for="ck_cb_WarnMozPref">
Show an alert if your browser preferences are set to delete or refuse cookies.
</label><br>
<input id="ck_cb_WarnProtSession" type="checkbox" name="cbWarnProtSession" preference="extensions.cookiekeeper.warn_prot_session">
<label data-l10n-id="ck.cb.misc.warn_prot_session" for="ck_cb_WarnProtSession">
Show an alert when a session cookie is protected.
</label><br>
<input id="ck_cb_BlockFutureCookies" type="checkbox" name="cbBlockFutureCookies" preference="network.cookie.blockFutureCookies" default="false">
<label data-l10n-id="ck.cb.misc.block_future_cookies" for="ck_cb_BlockFutureCookies">
Add deleted cookies domains to the block list.
</label><br>
<div id="cbNoAustralisUI">
<input id="ck_cb_NoAustralisUI" type="checkbox" name="cbNoAustralisUI" preference="extensions.cookiekeeper.no_australis_ui">
<label data-l10n-id="ck.cb.misc.no_australis_ui"
data-l10n-id-tooltiptext="ck.cb.misc.no_australis_ui.tooltip"
for="ck_cb_NoAustralisUI">
Do not use the australis panel, use classical menu instead.
</label><br>
</div>
<input id="ck_cb_UseHTMLPrefs" type="checkbox" name="cbUseHTMLPrefs" preference="extensions.cookiekeeper.use_html_prefs">
<label data-l10n-id="ck.cb.misc.use_html_prefs" for="ck_cb_UseHTMLPrefs">
Use the HTML version of the preferences panel.
</label><br>
</div>
</div>
<div id="div_content_protections" class="div_prefs_content">
<span class="tab_title" data-l10n-id="menu.protections">Protections</span>
<br>
<hr class="hr_title"><br>
<!-- type, domain, name, path, exists -->
<div id="pcookies_div_table" class="div_table_scroll">
<table id="pcookies_table" class="table_scroll" tabindex="2">
<thead id="pcookies_thead" class="table_scroll_head">
<tr id="pcookies_header_tr" class="table_scroll_header_row">
<th id="pcookies_th_type"
class="table_scroll_cellheader table_scroll_cellheader_first"
data-l10n-id="prot.th.type">
Type
</th>
<th id="pcookies_th_domain"
class="table_scroll_cellheader"
data-l10n-id="prot.th.domain">
Domain
</th>
<th id="pcookies_th_name"
class="table_scroll_cellheader"
data-l10n-id="prot.th.name">
Name
</th>
<th id="pcookies_th_path"
class="table_scroll_cellheader"
data-l10n-id="prot.th.path">
Path
</th>
<th id="pcookies_th_exists"
class="table_scroll_cellheader table_scroll_cellheader_last"
data-l10n-id="prot.th.exists"
data-l10n-id-tooltiptext="prot.th.tooltip.exists">
Exists
</th>
</tr>
</thead>
<tbody id="pcookies_tbody" class="table_scroll_body">
<!-- Dynamic content here -->
</tbody>
</table>
</div>
<button id="pcookies_button_delete"
type="button" tabindex="3"
data-l10n-id="prot.button.delete"
onclick="gCookieKeeperProtItemsHTML.onDelete();" disabled>
Delete
</button>
</div>
<div id="div_content_permissions" class="div_prefs_content">
<span class="tab_title" data-l10n-id="menu.permissions">Permissions</span>
<br>
<hr class="hr_title"><br>
<span data-l10n-id="perms.span.notice"></span>
<br><br>
<span data-l10n-id="perms.span.addresse">Address of website:</span>
<br>
<input id="perm_input_address" type="text" tabindex="4" />
<br>
<button id="perm_button_block" type="button" tabindex="5" disabled data-l10n-id="perms.cookies.block">Block</button>
<button id="perm_button_allow" type="button" tabindex="6" disabled data-l10n-id="perms.cookies.allow">Allow</button>
<button id="perm_button_session" type="button" tabindex="7" disabled data-l10n-id="perms.cookies.allow_session">Allow for session</button>
<br>
<div id="perm_div_table" class="div_table_scroll">
<table id="perm_table" class="table_scroll" tabindex="8">
<thead id="perm_thead" class="table_scroll_head">
<tr id="perm_header_tr" class="table_scroll_header_row">
<th id="perm_th_site"
class="table_scroll_cellheader table_scroll_cellheader_first"
data-l10n-id="perms.th.site">Site</th>
<th id="perm_th_status"
class="table_scroll_cellheader table_scroll_cellheader_last"
data-l10n-id="perms.th.status">Status</th>
</tr>
</thead>
<tbody id="perm_tbody" class="table_scroll_body">
</tbody>
</table>
<menu type="context" id="perm_menu_context">
<menuitem id="perm_menuitem_allow"
label="Allow"
data-l10n-id-label="perms.cookies.allow"
onclick="gCookieKeeperPermissionsHTML.onContextMenu(event);" ></menuitem>
<menuitem id="perm_menuitem_block"
label="Block"
data-l10n-id-label="perms.cookies.block"
onclick="gCookieKeeperPermissionsHTML.onContextMenu(event);" ></menuitem>
<menuitem id="perm_menuitem_session"
label="Allow for session"
data-l10n-id-label="perms.cookies.allow_session"
onclick="gCookieKeeperPermissionsHTML.onContextMenu(event);" ></menuitem>
<menuitem id="perm_menuitem_remove"
label="Remove"
data-l10n-id-label="perms.cookies.remove"
onclick="gCookieKeeperPermissionsHTML.onContextMenu(event);" ></menuitem>
<menuitem id="perm_menuitem_copy"
label="Copy domain"
data-l10n-id-label="perms.menu.copy"
onclick="gCookieKeeperPermissionsHTML.onContextMenu(event);" ></menuitem>
</menu>
</div>
<button id="perm_button_remove" type="button" tabindex="9" disabled data-l10n-id="perms.cookies.remove">Remove</button>
<button id="perm_button_remove_all" type="button" tabindex="10" disabled data-l10n-id="perms.cookies.remove_all">Remove All</button>
</div>
<div id="div_content_browser" class="div_prefs_content">
<span class="tab_title" data-l10n-id="menu.browser">Browser</span>
<br>
<hr class="hr_title"><br>
<span data-l10n-id="ck.span.browser.explanation">
The preferences below belongs to the browser and are not part of CookieKeeper.
They are presented here for your convinience.
</span>
<br>
<br>
<div id="browser_PrivateBrowsingAutoStart">
<input id="browser_cb_PrivateBrowsingAutoStart" type="checkbox" name="cbPrivateBrowsingAutoStart" preference="browser.privatebrowsing.autostart" default="false">
<label data-l10n-id="browser.cb.private_browsing" for="browser_cb_PrivateBrowsingAutoStart">Always use private browsing mode</label><br>
</div>
<div id="browser_SanitizeOnShutdown">
<input id="browser_cb_SanitizeOnShutdown" type="checkbox" name="cbSanitizeOnShutdown" preference="privacy.sanitize.sanitizeOnShutdown" default="false">
<label data-l10n-id="browser.cb.browser.sanitize" for="browser_cb_SanitizeOnShutdown">Clear history when the browser closes</label><br>
<div id="browser_div_ClearOnShutDownCookies_all">
<input id="browser_cb_ClearOnShutDownCookies" type="checkbox" name="cbClearOnShutDownCookies" preference="privacy.clearOnShutdown.cookies" default="true">
<label data-l10n-id="browser.cb.browser.sanitize.cookies" for="browser_cb_ClearOnShutDownCookies">Cookies</label><br>
</div>
<div id="browser_div_ClearOnShutDownCookies_seamonkey">
<input id="browser_cb_ClearOnShutDownCookies" type="checkbox" name="cbClearOnShutDownCookies" preference="privacy.item.cookies" default="false">
<label data-l10n-id="browser.cb.browser.sanitize.cookies" for="browser_cb_ClearOnShutDownCookies">Cookies</label><br>
</div>
</div>
<br>
<div id="browser_AcceptPolicy" class="div_radio_group">
<span class="checkbox_block_title" data-l10n-id="browser.span.browser.accept_policy">Accept Policy</span>
<form id="browser_form_accept_policy" name="radioAcceptPolicy" type="radio" preference="network.cookie.cookieBehavior">
<input id="browser_radio_accept_policy_all" type="radio" name="radioAcceptPolicy" class="input_radio" value="0">
<label data-l10n-id="browser.radio.accept_policy.all" for="browser_radio_accept_policy_all" class="input_radio">
Allow all cookies (default)
</label><br>
<input id="browser_radio_accept_policy_rtp" type="radio" name="radioAcceptPolicy" class="input_radio" value="1">
<label data-l10n-id="browser.radio.accept_policy.rtp" for="browser_radio_accept_policy_rtp" class="input_radio">
Reject all third-party cookies
</label><br>
<input id="browser_radio_accept_policy_none" type="radio" name="radioAcceptPolicy" class="input_radio" value="2">
<label data-l10n-id="browser.radio.accept_policy.none" for="browser_radio_accept_policy_none" class="input_radio">
Reject all cookies
</label><br>
<input id="browser_radio_accept_policy_run" type="radio" name="radioAcceptPolicy" class="input_radio" value="3">
<label data-l10n-id="browser.radio.accept_policy.run" for="browser_radio_accept_policy_run" class="input_radio">
Reject third-party cookies unless the eTLD already has at least one cookie
</label>
</form>
</div>
<br>
<div id="browser_LifetimePolicy" class="div_radio_group">
<span class="checkbox_block_title" data-l10n-id="browser.span.browser.lifetime_policy">Lifetime Policy</span>
<form id="browser_form_lifetime_policy" name="radioLifetimePolicy" type="radio" preference="network.cookie.lifetimePolicy">
<input id="browser_radio_lifetime_policy_normal" type="radio" name="radioLifetimePolicy" class="input_radio" value="0" >
<label data-l10n-id="browser.radio.lifetime_policy.normal" for="browser_radio_lifetime_policy_normal" class="input_radio">
Accept normally (default)
</label><br>
<input id="browser_radio_lifetime_policy_ask" type="radio" name="radioLifetimePolicy" class="input_radio" value="1">
<label data-l10n-id="browser.radio.lifetime_policy.ask" for="browser_radio_lifetime_policy_ask" class="input_radio">
Ask before accepting
</label><br>
<input id="browser_radio_lifetime_policy_session" type="radio" name="radioLifetimePolicy" class="input_radio" value="2">
<label data-l10n-id="browser.radio.lifetime_policy.session" for="browser_radio_lifetime_policy_session" class="input_radio">
Downgrade to session
</label><br>
<input id="browser_radio_lifetime_policy_days" type="radio" name="radioLifetimePolicy" class="input_radio" value="3">
<label id="browser_label_lifetime_policy_days"
data-l10n-dynid="browser.radio.lifetime_policy.days"
for="browser_radio_lifetime_policy_days" class="input_radio">
Limit lifetime to $days$ days
</label><br>
</form>
<input id="browser_input_lifetime_policy_days" type="number" min="1" max="3650" preference="network.cookie.lifetime.days"><br>
<input id="browser_cb_lifetime_policy_tpso" type="checkbox" preference="network.cookie.thirdparty.sessionOnly">
<label data-l10n-id="browser.cb.lifetime_policy.tpso" for="browser_cb_lifetime_policy_tpso">
Third-party cookies: Session only
</label><br>
</div>
</div>
</body>
</html>
|