-
Notifications
You must be signed in to change notification settings - Fork 62
/
options.html
795 lines (790 loc) · 41.2 KB
/
options.html
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Temporary Containers</title>
<link rel="stylesheet" href="fontello/fontello-embedded.css">
<link rel="stylesheet" href="semantic/semantic.min.css">
<style>
body { padding: 25px; }
.hidden { display: none; }
</style>
</head>
<body>
<div class="ui container">
<div class="ui menu">
<a class="item" data-tab="general">General</a>
<a class="item" data-tab="isolation">Isolation</a>
<a class="item" data-tab="advanced">Advanced</a>
<a class="item" data-tab="statistics">Statistics</a>
<a class="item" data-tab="export_import">Export/Import</a>
</div>
<div class="ui tab segment" data-tab="general">
<form class="ui form">
<div class="field" id="automaticModeField">
<div class="ui checkbox">
<input type="checkbox" id="automaticMode">
<label>Automatic Mode</label>
</div>
<span class="float right">
<a id="automaticModeInfo" class="icon-info-circled" href="https://github.com/stoically/temporary-containers/wiki/Automatic-Mode" target="_blank"></a>
</span>
</div>
<div class="field" id="notificationsField">
<div class="ui checkbox" id="notifications">
<input type="checkbox" id="notificationsCheckbox">
<label>Notifications when Temporary Containers are deleted</label>
</div>
</div>
<div class="field">
<label>Container Name Prefix</label>
<input type="text" id="containerNamePrefix">
</div>
<div class="field">
<label>Container Color</label>
<select id="containerColor" class="ui fluid dropdown">
<option value="blue">blue</option>
<option value="turquoise">turquoise</option>
<option value="green">green</option>
<option value="yellow">yellow</option>
<option value="orange">orange</option>
<option value="red">red</option>
<option value="pink">pink</option>
<option value="purple">purple</option>
</select>
</div>
<div class="field">
<div class="ui checkbox">
<input type="checkbox" id="containerColorRandom">
<label>Random Container Color</label>
</div>
</div>
<div class="field">
<label>Container Icon</label>
<select id="containerIcon" class="ui fluid dropdown">
<option value="fingerprint">fingerprint</option>
<option value="briefcase">briefcase</option>
<option value="dollar">dollar</option>
<option value="cart">cart</option>
<option value="circle">circle</option>
<option value="gift">gift</option>
<option value="vacation">vacation</option>
<option value="food">food</option>
<option value="fruit">fruit</option>
<option value="pet">pet</option>
<option value="tree">tree</option>
<option value="chill">chill</option>
</select>
</div>
<div class="field">
<div class="ui checkbox">
<input type="checkbox" id="containerIconRandom">
<label>Random Container Icon</label>
</div>
</div>
<div class="field">
<label>Container Number</label>
<select id="containerNumberMode" class="ui fluid dropdown">
<option value="keep">Keep counting (default)</option>
<option value="reuse">Reuse available numbers</option>
</select>
</div>
<div class="field" data-tooltip='"X minutes" lets you "undo close tabs" in that timeframe'>
<label>Delete no longer needed Temporary Containers</label>
<select id="containerRemoval" class="ui fluid dropdown">
<option value="15minutes">15 minutes after the last tab in it closes (default)</option>
<option value="5minutes">5 minutes after the last tab in it closes</option>
<option value="2minutes">2 minutes after the last tab in it closes</option>
<option value="instant">After the last tab in it closes</option>
</select>
</div>
<div class="field" data-tooltip="When switching back to default you might need to restart the browser depending on your theme">
<label>Toolbar Icon Color</label>
<select id="iconColor" class="ui fluid dropdown">
<option value="default">default</option>
<option value="black-simple">black (simple)</option>
<option value="blue-simple">blue (simple)</option>
<option value="red-simple">red (simple)</option>
<option value="white-simple">white (simple)</option>
</select>
</div>
<div class="field">
<button id="saveContainerPreferences" class="ui button primary">Save</button>
</div>
</form>
</div>
<div class="ui tab segment" data-tab="isolation">
<div class="ui top attached tabular menu">
<a class="active item" data-tab="isolation/global">Global</a>
<a class="item" data-tab="isolation/perdomain">Per Domain</a>
<a class="item" data-tab="isolation/mac">Multi-Account Containers</a>
</div>
<div class="ui bottom attached active tab segment" data-tab="isolation/global">
<a class="ui blue ribbon label" href="https://github.com/stoically/temporary-containers/wiki/Global-Isolation" target="_blank">
<i class="icon-info-circled"></i> Global Isolation?
</a><br><br>
<form class="ui form">
<div class="ui accordion" id="isolationGlobalAccordion">
<div class="title">
<h4><i class="dropdown icon"></i>
Navigating in tabs should open new Temporary Containers
</h4>
</div>
<div class="ui segment content">
<div class="field">
<select id="isolationGlobal" class="ui fluid dropdown">
<option value="always">Always</option>
<option value="notsamedomainexact">If the Navigation Target domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the Navigation Target domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Mouse clicks on links should open new Temporary Containers
</h4>
</div>
<div class="ui segment content">
<div class="field">
<label>Middle Mouse</label>
<select id="isolationGlobalMouseClickMiddle" class="ui fluid dropdown">
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
<div class="field">
<label>Ctrl/Cmd+Left Mouse</label>
<select id="isolationGlobalMouseClickCtrlLeft" class="ui fluid dropdown">
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
<div class="field">
<label>Left Mouse</label>
<select id="isolationGlobalMouseClickLeft" class="ui fluid dropdown">
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the current tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the current tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Exclude permanent containers from Isolation
</h4>
</div>
<div class="ui segment content">
<div class="field">
<div class="ui dropdown fluid selection multiple" id="isolationGlobalExcludeContainers">
<div class="text"></div>
<i class="dropdown icon"></i>
</div>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Exclude domains from Isolation
</h4>
</div>
<div class="ui segment content">
<div class="field">
<div id="isolationGlobalExcludeDomainPatternDiv" class="field">
<label>Domain Pattern</label>
<input id="isolationGlobalExcludeDomainPattern" type="text">
</div>
<div class="field">
<button id="isolationGlobalExcludeDomainSave" class="ui button primary">Exclude</button>
</div>
<div>
<h3>Excluded domains</h3>
<div class="ui bulleted list" id="isolationGlobalExcludedDomains">
</div>
</div>
</div>
</div>
</div>
<br>
<div class="field">
<button id="saveIsolationGlobalPreferences" class="ui button primary">Save</button>
</div>
</form>
</div>
<div class="ui bottom attached tab segment" data-tab="isolation/perdomain">
<a class="ui blue ribbon label" href="https://github.com/stoically/temporary-containers/wiki/Per-domain-Isolation" target="_blank">
<i class="icon-info-circled"></i> Per domain Isolation?
</a><br><br>
<form class="ui form" id="isolationDomainForm">
<div id="isolationDomainPatternDiv" class="field">
<label>Domain Pattern</label>
<input id="isolationDomainPattern" type="text">
</div>
<div class="ui accordion" id="isolationPerDomainAccordion">
<div class="title">
<h4><i class="dropdown icon"></i>
Always open in new Temporary Containers
</h4>
</div>
<div class="ui segment content">
<div class="field">
<select id="isolationDomainAlways" class="ui fluid dropdown">
<option value="enabled">Enabled</option>
<option value="disabled" selected="selected">Disabled</option>
</select>
</div>
<div class="field">
<div class="ui checkbox">
<input type="checkbox" id="isolationDomainAlwaysAllowedInPermanent">
<label>Allow to load in permanent containers</label>
</div>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Navigating in tabs should open new Temporary Containers
</h4>
</div>
<div class="ui segment content">
<div class="field">
<select id="isolationDomainNavigation" class="ui fluid dropdown">
<option value="global" selected="selected">Use Global</option>
<option value="always">Always</option>
<option value="notsamedomainexact">If the Navigation Target domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the Navigation Target domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Mouse clicks on links should open new Temporary Containers
</h4>
</div>
<div class="ui segment content">
<div class="field">
<label>Middle Mouse</label>
<select id="isolationDomainMouseClickMiddle" class="ui fluid dropdown">
<option value="global" selected="selected">Use Global</option>
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
<div class="field">
<label>Ctrl/Cmd+Left Mouse</label>
<select id="isolationDomainMouseClickCtrlLeft" class="ui fluid dropdown">
<option value="global" selected="selected">Use Global</option>
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
<div class="field">
<label>Left Mouse</label>
<select id="isolationDomainMouseClickLeft" class="ui fluid dropdown">
<option value="global" selected="selected">Use Global</option>
<option value="always">Always</option>
<option value="notsamedomainexact">If the clicked Link domain does not exactly match the active tabs domain - Subdomains also get isolated</option>
<option value="notsamedomain">If the clicked Link domain does not match the active tabs domain - Subdomains won't get isolated</option>
<option value="never">Never</option>
</select>
</div>
</div>
<div class="title">
<h4><i class="dropdown icon"></i>
Exclude target domains
</h4>
</div>
<div class="ui segment content">
<div class="field">
<div id="isolationDomainExcludeDomainPatternDiv" class="field">
<label>Domain Pattern</label>
<input id="isolationDomainExcludeDomainPattern" type="text">
</div>
<div class="field">
<button id="isolationDomainExcludeDomainSave" class="ui button primary">Exclude</button>
</div>
<div>
<h3>Excluded target domains</h3>
<div class="ui bulleted list" id="isolationDomainExcludedDomains">
</div>
</div>
</div>
</div>
</div>
<br>
<div class="field">
<button id="isolationDomainSave" class="ui button primary">Add or Edit</button>
</div>
<br>
<div>
<h3>Domains</h3>
<div class="ui bulleted list" id="isolationDomains">
</div>
</div>
</form>
</div>
<div class="ui bottom attached tab segment" data-tab="isolation/mac">
<a class="ui blue ribbon label" href="https://github.com/stoically/temporary-containers/wiki/Multi-Account-Containers-Isolation" target="_blank">
<i class="icon-info-circled"></i> Multi-Account Containers Isolation?
</a><br><br>
<form class="ui form">
<h4>
Open new Temporary Containers if a permanent container tab tries to load
a domain that isn't assigned to "Always open in" that container with
<a href="https://addons.mozilla.org/firefox/addon/multi-account-containers/" target="_blank">Multi-Account Containers</a>
(Note: this is different from the Per Domain "Always open in" configuration)
</h4>
<div class="field">
<select id="isolationMac" class="ui fluid dropdown">
<option value="disabled">Disabled</option>
<option value="enabled">Enabled</option>
</select>
</div>
<div class="field">
<button id="saveIsolationMacPreferences" class="ui button primary">Save</button>
</div>
</form>
</div>
</div>
<div class="ui tab segment" data-tab="advanced">
<div class="ui top attached tabular menu">
<a class="active item" data-tab="advanced/general">General</a>
<a class="item" data-tab="advanced/setcookies">Set Cookies</a>
<a class="item" data-tab="advanced/deletehistory">Delete History</a>
</div>
<div class="ui bottom attached active tab segment" data-tab="advanced/general">
<form class="ui form">
<div class="field" id="popupField">
<div class="field">
<label>Icon Popup</label>
<div class="ui checkbox">
<input type="checkbox" id="browserActionPopup">
<label>Show the popup when pressing the Toolbar Icon instead of opening Temporary Container</label>
</div>
</div>
<div class="field">
<div class="ui checkbox">
<input type="checkbox" id="pageAction">
<label>Show additional Icon in the address bar that reveals the popup</label>
</div>
</div>
</div>
<div class="field">
<label>Context Menu</label>
<div class="ui checkbox">
<input type="checkbox" id="contextMenu">
<label>Show Temporary Container entry in the right click on links context menu</label>
</div>
</div>
<div class="field">
<label>Keyboard shortcuts</label>
</div>
<div class="ui notice message">
Starting with Firefox 66 it's possible to reassign keyboard shortcuts on the Add-ons overview page.
</div>
<div class="field" id="keyboardShortcutsAltCField">
<div class="ui checkbox">
<input type="checkbox" id="keyboardShortcutsAltC">
<label>Alt+C - Open a new Tab in a new Temporary Container</label>
</div>
</div>
<div class="field hidden" id="keyboardShortcutsAltPField">
<div class="ui checkbox">
<input type="checkbox" id="keyboardShortcutsAltP">
<label>Alt+P - Open a new Tab in a new 'Deletes History Temporary Container'</label>
</div>
</div>
<div class="field" id="keyboardShortcutsAltNField">
<div class="ui checkbox">
<input type="checkbox" id="keyboardShortcutsAltN">
<label>Alt+N - Open a new 'No Container' Tab</label>
</div>
</div>
<div class="field" id="keyboardShortcutsAltShiftCField">
<div class="ui checkbox">
<input type="checkbox" id="keyboardShortcutsAltShiftC">
<label>Alt+Shift+C - Open a new 'No Container' Tab in a new Window</label>
</div>
</div>
<div class="field" id="keyboardShortcutsAltXField">
<div class="ui checkbox">
<input type="checkbox" id="keyboardShortcutsAltX">
<label>Alt+X - Open a new Tab in the same Container as the currently active Tab</label>
</div>
</div>
<div class="field">
<label>Creating new Temporary Containers in case of Isolation</label>
<div class="ui checkbox">
<input type="checkbox" id="replaceTabs">
<label>Instead of creating a new Tab replace the currently active Tab</label>
</div>
</div>
<div class="field">
<label>Redirector tabs</label>
<div class="ui checkbox">
<input type="checkbox" id="closeRedirectorTabs">
<label>Automatically close left-over redirector tabs after 2 seconds: <strong>t.co</strong> (Twitter), <strong>outgoing.prod.mozaws.net</strong> (AMO)</label>
</div>
</div>
<div class="field">
<label>Ignoring requests to</label>
<div class="ui notice message">
Note: Ticked checkbox means that the Domains get ignored from Temporary Containers. However, starting with
Firefox 61.0 just unticking the checkbox isn't enough - you need to remove the domain from the <i>about:config</i>
key <strong>extensions.webextensions.restrictedDomains</strong> list too if it's listed there.
<br><br>
To fully unignore requests to addons.mozilla.org you need to configure <strong>privacy.resistFingerprinting.block_mozAddonManager</strong>
in <i>about:config</i> to Boolean <i>true</i> as well.
</div>
<div class="ui checkbox">
<input type="checkbox" id="ignoreRequestsToAMO">
<label>addons.mozilla.org<br><i>Firefox prevents contentscripts on and canceling requests to that domain.</i></label>
</div>
</div>
<div class="field">
<div class="ui checkbox">
<input type="checkbox" id="ignoreRequestsToPocket">
<label>getpocket.com<br><i>The Firefox Pocket integration only works in the default container</i></label>
</div>
</div>
<div class="field">
<label>Automatic Mode</label>
<div class="ui negative message">
<strong>Warning:</strong> new tabs (about:newtab and about:blank) can make network requests and set cookies, especially when you
use the address bar for search engines. If you select "Don't reopen new tabs in Temporary Containers"
here, cookies can get written into and read from the permanent default container as long as the new
tab didn't get reopened in a Temporary Container.<br>
<br>
If you have a Cookie-Deletion-Add-on that automatically keeps your default/permanent containers clean
and you use privacy-oriented search-engines like Startpage.com or DuckDuckGo then it should be no problem
to use the "Don't reopen new tabs" preference.
</div>
<div data-tooltip='"Deletes History Temporary Containers" always reopen new tabs to avoid leaving traces in recently closed tabs'>
<select id="automaticModeNewTab" class="ui fluid dropdown">
<option value="created">Reopen new tabs in Temporary Containers. Flickers a bit and some Add-ons that intervene with initial tab opening might not work as expected but it prevents new tabs from writing and reading cookies in the default container and doesn't clutter recently closed tabs with "new tabs" (Default)</option>
<option value="navigation">Don't reopen new tabs in Temporary Containers but instead on navigation. Prevents initial flickering and increases compatibility with other Add-ons that intervene with initial tab opening but new tabs can set and read cookies in the default container</option>
</select>
</div>
</div>
<div class="field">
<button id="saveAdvancedGeneralPreferences" class="ui button primary">Save</button>
</div>
</form>
</div>
<div class="ui bottom attached tab segment" data-tab="advanced/setcookies">
<form class="ui form" id="setCookiesDomainForm">
<h4>
Configure cookies to be set on certain Domains in Temporary Containers
</h4>
<div class="ui negative message">
<strong>Warning:</strong> Setting cookies can make you easier fingerprintable. Especially
when they contain user/session-specific data. Avoid setting cookies if you can.
</div>
<div class="ui notice message">
This will call <a href="https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/cookies/set" target="_blank">cookies.set</a>
and add the cookie to the header (if allowed) during <a href="https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders" target="_blank">webRequest.onBeforeSendHeaders</a>.
If the request belongs to a Temporary Container and the domain matches the given pattern. Make sure that the cookie name and value are correctly
encoded, or you might break the header being sent.
</div>
<div id="setCookiesDomainPatternDiv" class="field">
<label>Domain Pattern [?]</label>
<input id="setCookiesDomainPattern" type="text">
</div>
<div id="setCookiesDomainDomainDiv" class="field">
<label>domain</label>
<input id="setCookiesDomainDomain" type="text">
</div>
<div id="setCookiesDomainExpirationDateDiv" class="field">
<label>expirationDate</label>
<input id="setCookiesDomainExpirationDate" type="text">
</div>
<div id="setCookiesFirstPartyDomainDiv" class="field">
<label>firstPartyDomain</label>
<input id="setCookiesFirstPartyDomain" type="text">
</div>
<div class="field">
<label>httpOnly</label>
<select id="setCookiesDomainHttpOnly" class="ui fluid dropdown">
<option value="">httpOnly</option>
<option value="false">false</option>
<option value="true">true</option>
</select>
</div>
<div id="setCookiesDomainNameDiv" class="field">
<label>name</label>
<input id="setCookiesDomainName" type="text">
</div>
<div id="setCookiesDomainPathDiv" class="field">
<label>path</label>
<input id="setCookiesDomainPath" type="text">
</div>
<div class="field">
<label>sameSite</label>
<select id="setCookiesSameSite" class="ui fluid dropdown">
<option value="">sameSite</option>
<option value="no_restriction">no_restriction</option>
<option value="lax">lax</option>
<option value="strict">strict</option>
</select>
</div>
<div class="field">
<label>secure</label>
<select id="setCookiesDomainSecure" class="ui fluid dropdown">
<option value="">secure</option>
<option value="false">false</option>
<option value="true">true</option>
</select>
</div>
<div id="setCookiesDomainUrlDiv" class="field">
<label>url</label>
<input id="setCookiesDomainUrl" type="text">
</div>
<div id="setCookiesDomainValueDiv" class="field">
<label>value</label>
<input id="setCookiesDomainValue" type="text">
</div>
<div class="field">
<button id="setCookiesDomainAddRule" class="ui button primary">Add</button>
</div>
<div>
<h3>Cookies</h3>
<div class="ui bulleted list" id="setCookiesDomainCookies">
</div>
</div>
</form>
</div>
<div class="ui bottom attached tab segment" data-tab="advanced/deletehistory">
<form class="ui form">
<div class="field">
<label>"Deletes History Temporary Containers"</label>
<div class="ui negative message">
<strong>
Warning: Every website URL that you visit in a
"Deletes History Temporary Container" will get deleted from your entire history.
This means if you visited the same Website URL in another Container, Temporary Container
or in Default Container before or while visiting it in a "Deletes History Temporary Container"
then those visits will get deleted from History too. This is true until Firefox supports a special history for container tabs.
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1283320" target="_blank">The related Firefox bug can be found here</a>.<br>
<br>
Be careful. You have been warned. "Deletes History Temporary Containers" tabs have a "-deletes-history" suffix
in the container name to remind you.
<br><br>
<div class="ui checkbox" id="deletesHistoryContainerWarningRead">
<input type="checkbox" id="deletesHistoryContainerWarningReadCheckbox">
<label>I have read the Warning and understand the implications that come with using "Deletes History Temporary Containers".
When ticking the checkbox Firefox will ask you for "Access browsing history" permissions.</label>
</div>
</strong>
</div>
<div class="ui notice message">
You can open "Deletes History Temporary Containers" - also with the keyboard shortcut Alt+P - after you read the Warning and ticked the checkbox.<br>
<br>
The deletion applies to the full Website URL, not only the domain. That means, if you e.g. open a specific reddit post or a news article on
your favorite news site in a "Deletes History Temporary Container" it won't delete all your previous visits to other reddit posts or news articles
that you made outside of "Deletes History Temporary Containers" because the full Website URLs are different.<br>
<br>
"Deletes History Temporary Containers" will delete history when the "Deletes History Temporary Container" itself gets deleted after the last Tab in it closes.
</div>
</div>
<div class="field" data-tooltip="This affects Automatic Mode, Toolbar Icon and the right-click context menu entry">
<label>Automatically create "Deletes History Temporary Containers" [?]</label>
<select id="deletesHistoryContainer" class="ui fluid dropdown">
<option value="never">Don't automatically create "Deletes History Temporary Containers" instead of normal Temporary Containers (Default)</option>
<option value="automatic">Automatically create "Deletes History Temporary Containers" instead of normal Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Context Menu</label>
<div class="ui checkbox">
<input type="checkbox" id="deletesHistoryContextMenu">
<label>Show additional "Deletes History Temporary Containers" entry in the right click on links context menu</label>
</div>
</div>
<div class="field" data-tooltip='"15minutes" lets you "undo close tabs" in that timeframe'>
<label>Delete no longer needed "Deletes History Temporary Containers"</label>
<select id="deletesHistoryContainerRemoval" class="ui fluid dropdown">
<option value="15minutes">15 minutes after the last tab in it closes</option>
<option value="instant">After the last tab in it closes (default)</option>
</select>
</div>
<div class="field">
<label>Isolation - Always per domain</label>
<select id="deletesHistorycontainerAlwaysPerDomain" class="ui fluid dropdown">
<option value="never">Default</option>
<option value="automatic">Open new "Deletes History Temporary Containers" for Domains configured "Isolation Always" instead of normal
Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Isolation - Navigating in tabs</label>
<select id="deletesHistoryContainerIsolation" class="ui fluid dropdown">
<option value="never">Default</option>
<option value="automatic">Open new "Deletes History Temporary Containers" when "Isolation on Navigation" takes place instead of normal
Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Isolation - Mouse clicks in "Deletes History Temporary Containers"</label>
<select id="deletesHistoryContainerMouseClicks" class="ui fluid dropdown">
<option value="never">Default</option>
<option value="automatic">Open new "Deletes History Temporary Containers" with Mouse clicks on links in "Deletes History Temporary Containers" instead of normal
Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Isolation - Middle Mouse Click in Temporary Containers</label>
<select id="linkClickGlobalMiddleCreatesContainer" class="ui fluid dropdown">
<option value="default">Default</option>
<option value="deleteshistory">Open new "Deletes History Temporary Containers" with Middle Mouse clicks instead of Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Isolation - Ctrl/Cmd+Left Mouse Click in Temporary Containers</label>
<select id="linkClickGlobalCtrlLeftCreatesContainer" class="ui fluid dropdown">
<option value="default">Default</option>
<option value="deleteshistory">Open new "Deletes History Temporary Containers" with Ctrl/Cmd+Left Mouse clicks instead of Temporary Containers</option>
</select>
</div>
<div class="field">
<label>Isolation - Left Mouse Click in Temporary Containers</label>
<select id="linkClickGlobalLeftCreatesContainer" class="ui fluid dropdown">
<option value="default">Default</option>
<option value="deleteshistory">Open new "Deletes History Temporary Containers" with Left Mouse clicks instead of Temporary Containers</option>
</select>
</div>
<div class="field">
<button id="saveAdvancedDeleteHistoryPreferences" class="ui button primary">Save</button>
</div>
</form>
</div>
</div>
<div class="ui tab segment" data-tab="statistics">
<div class="ui two column grid">
<div class="column">
<div class="ui raised segment">
<div class="ui green ribbon label">Deleted</div>
<div class="ui horizontal statistics">
<div class="ui green statistic">
<div class="value" id="containersDeleted">
0
</div>
<div class="label">
Temporary Containers
</div>
</div>
<div class="ui green statistic">
<div class="value" id="cookiesDeleted">
0
</div>
<div class="label">
Cookies
</div>
</div>
<div class="ui green statistic">
<div class="value" id="cacheDeleted">
0
</div>
<div class="label">
Cache
</div>
</div>
</div>
</div>
</div>
<div class="column">
<div class="ui inverted segment hidden" id="deletesHistoryStatistics">
<div class="ui horizontal statistics">
<div class="ui purple ribbon label">Deleted</div>
<div class="ui purple inverted statistic">
<div class="value" id="deletesHistoryContainersDeleted">
0
</div>
<div class="label">
"Deletes History Temporary Containers"
</div>
</div>
<div class="ui purple inverted statistic">
<div class="value" id="deletesHistoryCookiesDeleted">
0
</div>
<div class="label">
Cookies
</div>
</div>
<div class="ui purple inverted statistic">
<div class="value" id="deletesHistoryUrlsDeleted">
0
</div>
<div class="label">
URLs from History
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<form class="ui form">
<div class="field" id="statisticsField">
<div class="ui checkbox">
<input type="checkbox" id="statisticsCheckbox">
<label>Collect local statistics about Temporary Containers</label>
</div>
</div>
<div class="field hidden" id="deletesHistoryStatisticsField">
<div class="ui checkbox">
<input type="checkbox" id="deletesHistoryStatisticsCheckbox">
<label>Collect local statistics about "Deletes History Temporary Containers" [?]</label>
</div>
</div>
<div class="field">
<button id="saveStatisticsPreferences" class="ui button primary">Save</button>
<button id="resetStatistics" class="ui button negative primary" data-tooltip="No confirmation">Reset Statistics</button>
</div>
</form>
</div>
<div class="ui tab segment" data-tab="export_import">
<form class="ui form">
<div class="field">
<button id="exportPreferences" class="ui button primary">Export Preferences</button>
</div>
<div class="field">
<label>Import Preferences</label>
<input id="importPreferences" type="file" name="Import Preferences">
</div>
</form>
</div>
<div id="message" class="ui positive message hidden"></div>
<div id="preferenceserror" class="ui tiny modal">
<h2 class="ui header">
Error while loading preferences.
</h2>
<div id="preferenceserrorcontent" class="content">
If you just installed the Temporary Containers Add-on you need to
reset its storage by pressing the following button.<br><br>
<button id="resetStorage" class="ui button negative primary" data-tooltip="No confirmation">Reset storage</button><br><br>
If you already had the Add-on installed you probably just need to
restart Firefox. If the Error persists you might need to reset the
storage.<br>
<br>Sorry about that. You can read about why this can happen
<a href="https://github.com/stoically/temporary-containers/issues/68" target="_blank">here</a>.
<div class="content" id="preferenceserrordesc">
</div>
</div>
</div>
</div>
<script src="jquery/jquery.min.js"></script>
<script src="jquery/jquery.address.js"></script>
<script src="semantic/semantic.min.js"></script>
<script src="shared.js"></script>
<script src="options.js"></script>
</body>
</html>