-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1358 lines (1345 loc) · 78.4 KB
/
index.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
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Site Password</title>
<script language="javascript" type="text/javascript" src="src/bg.js"></script>
<script language="javascript" type="text/javascript" src="src/ssp.js"></script>
<script language="javascript" type="text/javascript" src="src/zxcvbn.js"></script>
<link type="text/css" href="src/ssp.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="src/icon128.png">
<!--
<style type="text/css" media="all">
</style>
-->
</head>
<body>
<noscript>JavaScript must be enabled to use this tool.</noscript>
<div id="root">
<div id="SitePasswordWebMarker" style="display:none">
<p>
SitePassword will not look for password fields if a div
with an id of "SitePasswordWebMarker" is in the document.
</p>
</div>
<div id="leftgutter" class="column"></div>
<div id="content" class="column">
<div id="mainpanel">
<div id="main">
<div class="form-row">
<span style="flex:1"></span>
<span>
<img id="logo" class="logo" src="src/icon128.png" />
<div id="pw" class="pwdiv" style="visibility: hidden">
<center>
<p class="pw">PW</p>
</center>
</div>
</span>
<span style="flex: 1"></span>
<h1 id="SitePasswordWeb">Site Password</h1>
<span style="flex: 1"></span>
<div id="maininfo" class="icon" title="Instructions">
<svg id="instructionopen" width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 15v-3m0-3v0" />
</svg>
<!-- Thanks to Copilot for this icon -->
<svg id="instructionclose" class="nodisplay" width="24" height="24" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9" stroke="black" stroke-width="2" fill="transparent"/>
<path d="M8,8 L16,16 M8,16 L16,8" stroke="black" stroke-width="2"/>
</svg>
</div>
</div>
<div class="form-row">
<label for="superpw" class="label">
Super password
<meter max="20" id="superpw-strength-meter" title="Super password strength"></meter>
Strength
</label>
<input
id="superpw"
class="fixed"
type="password"
value=""
autocomplete="off"
placeholder="Choose a strong super password"
title="Super Password" />
<div id="superpw3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="superpwmenu" class="nodisplay menu inner-icon-1">
<div id="superpwmenushow" title="Show your super password">
<svg class="icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M7 6.362A9.707 9.707 0 0 1 12 5c6.307 0 9.367 5.683 9.91 6.808.06.123.06.261 0 .385-.352.728-1.756 3.362-4.41 5.131M14 18.8a9.93 9.93 0 0 1-2 .2c-6.307 0-9.367-5.683-9.91-6.808a.44.44 0 0 1 0-.386c.219-.452.84-1.632 1.91-2.885m6 .843A3 3 0 0 1 14.236 14M3 3l18 18" />
</svg>
</div>
<div id="superpwmenuhide" class="nodisplay" title="Hide your super password">
<svg class="icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 5c-6.307 0-9.367 5.683-9.91 6.808a.435.435 0 0 0 0 .384C2.632 13.317 5.692 19 12 19s9.367-5.683 9.91-6.808a.435.435 0 0 0 0-.384C21.368 10.683 18.308 5 12 5z" />
<circle cx="12" cy="12" r="3" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
</svg>
</div>
<div id="superpwmenuhelp" title="Find out more about choosing a strong super password.">
<img src="src/help.png" class="icon menu-icon">
</div>
</div>
</div>
<div class="form-row">
<label for="domainname" class="label">Domain name</label>
<input
id="domainname"
class="fixed"
type="text"
autocomplete="off"
value=""
placeholder="Paste the login page URL here"
title="Login page URL" />
<div id="domainname3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="domainnamemenu" class="nodisplay menu inner-icon-1">
<div id="domainnamemenuforget"
title="Click to enable forgetting the settings associated with this domain name.">
<img src="src/forget.png"
opacity="0.5"
class="icon menu-icon menu-icon";"
>
</div>
<div
id="domainnamemenuhelp"
title="Learn more about how SitePassword uses the domain name.">
<img src="src/help.png" class="icon menu-icon menu-icon">
</div>
</div>
</div>
<div class="form-row">
<label for="bookmark" class="label">SitePasswordData bookmark</label>
<input
id="bookmark"
autocomplete="off"
title="Find the bookmark with your domain name in the SitePasswordData bookmark folder and paste it here."
placeholder="...then paste a SitePasswordData bookmark" />
<div id="bookmark3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="bookmarkmenu" class="nodisplay menu inner-icon-0">
<div
id="bookmarkmenuhelp"
title="Learn more about how you can get your settings from a bookmark.">
<img src="src/help.png" class="icon menu-icon menu-icon">
</div>
</div>
</div>
<p>...or fill in the form below.</p>
<div class="form-row">
<label for="sitename" class="label">Site name</label>
<input
id="sitename"
class="sans"
list="sitenames"
type="text"
autocomplete="off"
value=""
placeholder="A unique nickname for this account"
title="A unique nickname you associate with this account. For example, use the same nickname for www.example.com and login.example.com."
/>
<div id="sitename3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="sitenamemenu" class="nodisplay menu inner-icon-1">
<div id="sitenamemenuforget"
style="opacity: 0.5"
title="Click to enable forgetting all domain names associated with this nickname.">
<img src="src/forget.png" class="icon menu-icon">
</div>
<div id="sitenamemenuhelp"
title="Find out more about how your nickname for a site is used to compute your site password.">
<img src="src/help.png" class="icon menu-icon">
</div>
</div>
<datalist id="sitenames"></datalist>
</div>
<div class="form-row">
<label for="username" class="label">User name</label>
<input
id="username"
class="sans"
list="usernames"
type="text"
autocomplete="off"
value=""
placeholder="Your user-id for this account"
title="Your user-id for this account"
/>
<datalist id="usernames"></datalist>
<div id="usernamecopied" class="inner-icon-2 copied nodisplay">copied!</div>
<div id="username3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="usernamemenu" class="nodisplay menu inner-icon-2">
<div id="usernamemenuforget" display="block"
title="Click to enable forgetting all domain names associated with this userid."
style="opacity: 0.5">
<img src="src/forget.png" class="icon menu-icon">
</div>
<div id="usernamemenucopy"
display="block" title="Copy your user name to the clipboard."
style="display: block; opacity: 0.5">
<svg class="icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M8 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M8 5v0a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v0M8 5v0a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v0" />
</svg>
</div>
<div id="usernamemenuhelp" title="Find out more about how SitePassword uses your user name for this account.">
<img src="src/help.png" class="icon menu-icon">
</div>
</div>
<datalist id="usernames"></datalist>
</div>
<div id="results">
<div id="pwok" class="form-row">
<input id="sitepw" class="fixed" readonly type="text" value=""
placeholder="Generated site password" title="Site Password" />
<label for="sitepw" class="label">
Site password
<meter max="20" id="sitepw-strength-meter" title="Site password strength"></meter>
Strength
</label>
<div id="sitepwcopied" class="inner-icon-2 copied nodisplay">copied!</div>
<div id="sitepw3bluedots" class="icon inner-icon-1"
title=" Click for menu" style="display: block">
<img src="src/3bluedots.png" class="dots">
</div>
<div id="sitepwmenu" class="nodisplay menu inner-icon-2">
<div id="sitepwmenushow" class="nodisplay" title="Show your site password">
<svg class="icon menu-icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M7 6.362A9.707 9.707 0 0 1 12 5c6.307 0 9.367 5.683 9.91 6.808.06.123.06.261 0 .385-.352.728-1.756 3.362-4.41 5.131M14 18.8a9.93 9.93 0 0 1-2 .2c-6.307 0-9.367-5.683-9.91-6.808a.44.44 0 0 1 0-.386c.219-.452.84-1.632 1.91-2.885m6 .843A3 3 0 0 1 14.236 14M3 3l18 18" />
</svg>
</div>
<div id="sitepwmenuhide" title="Hide your site password">
<svg class="icon menu-icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M12 5c-6.307 0-9.367 5.683-9.91 6.808a.435.435 0 0 0 0 .384C2.632 13.317 5.692 19 12 19s9.367-5.683 9.91-6.808a.435.435 0 0 0 0-.384C21.368 10.683 18.308 5 12 5z" />
<circle cx="12" cy="12" r="3" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
</svg>
</div>
<div id="sitepwmenucopy"
title="Copy your site password to the clipboard"
style="opacity: 0.5">
<svg class="icon menu-icon menu-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="M8 5H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M8 5v0a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v0M8 5v0a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v0" />
</svg>
</div>
<div id="sitepwmenuhelp" title="Find out more about how SitePassword calculates your site password.">
<img src="src/help.png" class="icon menu-icon menu-icon">
</div>
</div>
</div>
<div class="form-row">
<button id="remember"
type="button"
title="Remember on this machine the settings for this account."
style="margin-left: 10px; margin-bottom: 20px"
disabled="disabled">
Remember
</button>
</div>
</div>
</div>
<div id="help">
<div id="superpwhelptext" name="help" class="helptext nodisplay">
<h3>Super Password Help</h3>
<p style="width: 270px">
You should choose a strong super password, one with lots of characters that contain
upper and lower case letters, numbers, and special characters. Just make sure
it's something you won't forget. SitePassword can't help you if you do.
</p>
<div class="form-row">
<button id="superpwhelptextclose" class="button" title="Close this help text.">
<span class="btn-text">Close<span class="btn-text"></span>
</button>
<button id="superpwhelptextmore" title="Learn more about your super password">
<span class="btn-text">Learn more</span>
</button>
<span style="flex:1"></span>
</div>
</div>
<div id="domainnamehelptext" name="help" class="helptext nodisplay">
<h3>Domain Name Help</h3>
<p style="width: 270px">
The domain name is associated with your settings for this account.
It is also the name of a bookmark in the SitePasswordData bookmark folder.
That's the bookmark you can use to get your settings when you're on a machine
that doesn't have the SitePassword extension installed.
</p>
<div class="form-row">
<button id="domainnamehelptextclose" class="button" title="Close this help text">
<span class="btn-text">Close</span>
</button>
<button id="domainnamehelptextmore" title="Learn more about how SitePassword uses domain names.">
<span class="btn-text">Learn more</span>
</button>
</div>
</div>
<div id="bookmarkhelptext" name="help" class="helptext nodisplay">
<h3>Bookmark Help</h3>
<p style="width: 270px">
Each domain name has a bookmark in the SitePasswordData bookmark folder.
That's where you can get your settings when you're on a machine
that doesn't have the SitePassword extension installed. You can click on the
bookmark to open this page with the form filled in
or you can paste the bookmark into the form.
</p>
<div class="form-row">
<button id="bookmarkhelptextclose" class="button" title="Close this help text">
<span class="btn-text">Close</span>
</button>
<button id="bookmarkhelptextmore" title="Learn more about how SitePassword uses domain names.">
<span class="btn-text">Learn more</span>
</button>
</div>
</div>
<div id="sitenamehelptext" name="help" class="helptext nodisplay">
<h3>Site Name Help</h3>
<p style="width: 270px">
Your site name is the nickname use to you refer to this account. It can be easy to remember,
such as <em>amazon</em> for amazon.com, but it doesn't have to be that simple. You can
change the password for an account by changing the nickname.
</p>
<div class="form-row">
<button id="sitenamehelptextclose" class="button" title="Close this help text.">
<span class="btn-text">Close<span class="btn-text"></span>
</button>
<button id="sitenamehelptextmore" title="Learn more about your site nickname">
<span class="btn-text">Learn more</span>
</button>
</div>
</div>
<div id="usernamehelptext" name="help" class="helptext nodisplay">
<h3>User Name Help</h3>
<p style="width: 270px">
Your user name is the name you use to log in to the site. It is
associated with the nickname for the account and is used to
calculate your site password. That means you can only have a
single user name for a given nickname.
<span name="hideifnobookmarks">If you want to use different
user names for the same site, follow the instructions for
<span id="sharedref"><a href="#shared-machines">Shared Machines</a></span>.</span>
</p>
<div class="form-row">
<button id="usernamehelptextclose" class="button" title="Close this help text.">
<span class="btn-text">Close</span>
</button>
<button id="usernamehelptextmore" title="Learn more about your username">
<span class="btn-text">Learn more</span>
</button>
</div>
</div>
<div id="sitepwhelptext" name="help" class="helptext nodisplay">
<h3>Site Password Help</h3>
<p style="width: 270px">
SitePassword uses your super password, nickname for the site, and
your user name for the site along with the additional settings to
calculate this password for the account.
</p>
<p style="width: 270px">
If the password field on
the login form doesn't say <em>Click here for password</em>, you
can use the Copy option on the menu to put this password on the clipboard.
</p>
<div class="form-row">
<button id="sitepwhelptextclose" class="button" title="Close this help text.">
<span class="btn-text">Close</span>
</button>
<button id="sitepwhelptextmore" title="Learn more about your site password">
<span class="btn-text">Learn more</span>
</button>
</div>
</div>
</div>
<div id="settings">
<h1 style="text-align: center;">Settings</h1>
<div class="setting-row"
id="providesitepwdiv"
style="margin-left: 10px"
title="You must fill in the SitePassword form before you can provide your own site password.">
<input id="providesitepw"
type="checkbox"
disabled
aria-disabled="true"
title="Check to type your own site password. You must fill in the SitePassword form first."
/>
<span>Provide your own site password</span>
</div>
<div class="form-row">
<input
id="code"
class="sans"
disabled
type="text"
autocomplete="off"
value=""
style="margin-top: 0"
placeholder="Code from your settings"
title="Paste or type the code from your settings here." />
</div>
<div id="defaultsettings" style="background-color: rgb(136, 204, 255, 20%);">
<div class="setting-row" style="top: 5px">
<span style="position: relative; left: 4px">Site password is</span>
<input id="pwlength" type="text" value="12" size="2"
style="position: relative; left: 2px"/>
<span>characters long</span>
</div>
<div class="setting-row">
<input id="startwithletter" type="checkbox" checked="checked" />
<span>Starts with letter</span>
</div>
<div class="setting-row">
<input id="allowlowercheckbox" type="checkbox" checked="checked" />
<span id="allowlower" style="display: none;">Allows lowercase letters</span>
<span id="requirelower" style="display: inline;">
Requires at least
<input id="minlower" type="text" value="1" size="2" />
lowercase letter(s)
</span>
</div>
<div class="setting-row">
<input id="allowuppercheckbox" type="checkbox" checked="checked" />
<span id="allowupper" style="display: none;">Allows uppercase letters</span>
<span id="requireupper" style="display: inline;">
Requires at least
<input id="minupper" type="text" value="1" size="2" />
uppercase letter(s)
</span>
</div>
<div class="setting-row">
<input id="allownumbercheckbox" type="checkbox" checked="checked" />
<span id="allownumber" style="display: none;">Allows numbers</span>
<span id="requirenumber" style="display: inline;">
Requires at least
<input id="minnumber" type="text" value="1" size="2" />
number(s)
</span>
</div>
<div class="setting-row">
<input id="allowspecialcheckbox" type="checkbox" />
<span id="allowspecial" style="display: inline;">Allows special characters</span>
<span id="requirespecial" style="display: none;">
Requires at least
<input id="minspecial" type="text" value="1" size="2" />
of
<input
id="specials"
class="fixed"
title="Enter up to 12 special characters. Alphanumerics are not allowed."
type="text"
value="$/!=@?._-"
size="12" maxlength="12" />
</span>
</div>
<div class="form-row">
<button id="makedefaultbutton"
type="button"
style="display: inline; margin-left: 10px; margin-right: 40px;"
target="_blank"
title="Make the settings in the box your default"
>
Save as default
</button>
</div>
</div>
<div class="form-row">
<button id="downloadbutton" type="button" style="display: inline" target="_blank"
title="Download the settings stored on this machine to a file that you can use to calculate your passwords when the SitePassword extension is not available.">
Download local data
</button>
<a id="data" href="#" target="_blank" style="display: none;"
rel="noopener noreferrer"
download="SiteData.html">SiteData.html</a>
<button id="exportbutton" type="button" disabled style="display: inline; position: relative;" target="_blank"
title="Export your passwords to a CSV file that can be imported into a spreadsheet.">
<span class="btn-text">Export passwords</span>
</button>
<span style="flex:1"></span>
<a id="pwdata" href="data:application/octet-stream," target="_blank" style="display: none;"
download="passwords.csv">passwords.csv</a>
</div>
<div class="form-row" style="top: 10px"; width="200px">
<label for="clearsuperpw">
<input id="clearsuperpw" type="checkbox" checked="checked" />
<span class="settings">Clear super password on copy</span>
</label>
</div>
</div>
<div id="instructionpanel" style="display: none;">
<!--
Instructions for converting the contents of this panel to Markdown
1. Insert everything in ssp.html from <div id="instructionpanel" to the
corresponding </div> into the form at
https://www.convertsimple.com/convert-html-to-markdown/.
2. Copy the output to README.md.
3. Use the regular expression
!\[[^\]]*\]\((src\/[^)]*\.(?:png|bmp))\)
and the replacement string
<img src="$1" style="width: 16px; height: 16px; vertical-align: middle;">
4. Change the width of the 3 dots to 6px.
to change all occurrences if ![](images...) to <img> tags.
-->
<h1> Instructions</h1>
<div id="sections">
<section id="useinfo" name="instructions">
<svg id="openuse" class="accordian" style="display: block;" width="24px" height="24px" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closeuse" class="accordian" style="display: none;" width="24px" height="24px" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Who Should Use This Web Page</h3>
<div id="usediv" style="display: none;">
<p>
This web page is a companion to the SitePassword browser extension.
In addition to remembering your settings, the extension synchronizes them
across your machines. You should use the extension if you are using a
compatible browser.
Unfortunately, browsers on mobile devices don't allow extensions.
</p>
<p>
The SitePassword web page is also available at
<a href="https://alanhkarp.github.io/SitePasswordWeb/" target="_blank">
https://alanhkarp.github.io/SitePasswordWeb/
</a>.
</p>
</div>
</section>
<section id="overviewinfo" name="instructions">
<svg id="openoverview" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closeoverview" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>How It Works</h3>
<div id="overviewdiv" style="display: none;">
<p>
SitePassword is different from most password managers. Instead of
storing your passwords, it calculates them from a single super password
and your nickname and user name
for the account. That means you can usually get your site password if
you remember those three things. (Some web pages require additional
settings.) It also allows you to specify the password
when you can't use the computed password.
</p>
</div>
</section>
<section id="superpwinfo" name="instructions">
<svg id="opensuperpw" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closesuperpw" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Your Super Password</h3>
<div id="superpwdiv" style="display: none;">
<p>
You should choose a strong super password, one with upper and
lower case letters, numbers, and special characters. The stronger
the better. The reason is simple. A bad guy who knows one site
password and can figure out your nickname and user name for that site
can start guessing super passwords. You want to make that job
has hard as you can.
</p>
<p>
You can protect yourself further by using different super passwords
for different kinds of accounts. You could have one that you use for
banking, another for subscriptions, and a third for sites you find
sketchy.
</p>
<p>
SitePassword doesn't prevent you from using a weak super password,
but it does warn you. There is a strength indicator directly above
the super password field. The color of your super password corresponds
to the level shown on the meter.
For example, if your super password is green,
it is strong. If it's orange, your super password is
weak.
The tooltip tells how long it would take a determined adversary
to guess your password.
</p>
<p>
You'll notice that your super password is not usually marked Strong until it is
longer than a site password marked Strong. That's because the super password
is something you can remember, while the site password is effectively a
random string of characters, which is less guessable.
</p>
<p>
SitePassword cannot retrieve your super password.
You should make sure it's something you won't easily forget. You
might even want to write it down and keep the copy in a secure place.
</p>
</div>
</section>
<section id="domainnameinfo" name="instructions" class="instructionpaneltext">
<svg id="opendomainname" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closedomainname" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>The Domain Name</h3>
<div id="domainnamediv" style="display:none">
<p>
The domain name is associated with the settings for this account.
It is also the name of a bookmark in the SitePasswordData bookmark folder.
That's the bookmark you can use to get your settings when you're on a machine
that doesn't have the SitePassword extension installed.
</p>
<p>
You can type the login page URL into this field, but you are strongly encouraged
to paste it from the address bar of the login page so SitePassword can warn you about
potential phishing.
</p>
<p>
Some web sites use multiple URLs for logging into the same account. As a result,
you may have more than one domain name for a given account. You'll get the same password
for all of the domain names because they are all associated with the same nickname.
</p>
</div>
</section>
<section id="bookmarkinfo" name="instructions" class="instructionpaneltext">
<svg id="openbookmark" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closebookmark" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Bookmark</h3>
<div id="bookmarkdiv" style="display:none">
<p>
SitePassword stores your settings in a bookmark in the SitePasswordData
bookmark folder.
You don't have to remember your settings if you synchonize your
bookmarks to this machine. You can click on the bookmark
for the domain name to open this page with the form filled in,
or you can paste the bookmark into the form.
</p>
</div>
</section>
<section id="sitenameinfo" name="instructions">
<svg id="opensitename" class="accordian" style="display: block;" width="24px" height="24px" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closesitename" class="accordian" style="display: none;" width="24px" height="24px" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Your Site Name</h3>
<div id="sitenamediv" style="display: none;">
<p>
The site name is the nickname you use refer to this account. It can be easy to remember,
such as <em>amazon</em> for amazon.com, but it doesn't have to be that simple.
It is one of the things used to compute your site password.
</p>
<p>
Your settings, such as the domain name of the login page,
your user name, the site password length, and whether your
site password contains special characters are associated with this nickname.
</p>
</div>
</section>
<section id="usernameinfo" name="instructions" class="instructionpaneltext">
<svg id="openusername" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m9 11 3 3 3-3" />
</svg>
<svg id="closeusername" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m9 13 3-3 3 3" />
</svg>
<h3>Your User Name</h3>
<div id="usernamediv" style="display: none;">
<p>
Your user name is the name you use to log in to the site. It is
associated with the nickname for the account and is used to
calculate your site password. That means you can only have a
single user name for a given nickname. If you want to use different
user names for the same site, follow the instructions for
<span id="sharedref2"><a href="#shared-machines">Shared Machines</a></span>.
</p>
</div>
</section>
<section id="sitepwinfo" name="instructions" class="instructionpaneltext">
<svg id="opensitepw" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closesitepw" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Your Site Password</h3>
<div id="sitepwdiv" style="display: none;">
<p>
SitePassword combines your super password, site name, and user name to
compute your password for the site. It also uses the additional settings you
provide to generate a password the site will accept.
</p>
<p>
SitePassword could generate a weak site password just by chance.
To let you know that has happened, it uses the same kind of
strength meter to tell you how strong your site password is.
The tooltip tells how long it would take a determined adversary
to guess your password.
</p>
<p>
For example, if your site password is orange, then it is weak. In
that case, just choose a different nickname for the account. You'll
almost certainly get a strong site password.
</p>
</div>
</section>
<section id="clearsuperpwinfo" name="instructions" class="instructionpaneltext">
<svg id="openclearsuperpw" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closeclearsuperpw" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Clear Super Password on Copy</h3>
<div id="clearsuperpwdiv" style="display: none;">
<p>
You are probably using this web page because you're on a device that doesn't have the
extension installed. If that's because you are at a friend's house, you probably don't
want to leave your super password lying around. You can check this box to clear your
super password from the form when you copy your site password. Uncheck the box if this
is one of your own devices.
</p>
</div>
</section>
<section id="codeinfo" name="instructions" class="instructionpaneltext">
<svg id="opencode" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closecode" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Provided Password Code</h3>
<div id="codediv" style="display: none;">
<p>
When the generated password can't be used, say if you've been given one that
you're not allowed to change, SitePassword can remember a password
you provide. It is stored in your settings encrypted with the computed
password for the site as a key. That means you must fill in the form before entering
your own password. After you fill in the form, click the <em>Provide your own site password</em>
check box. You can then enter your password into the site password field.
</p>
<p>
The code in the bookmark is a list of integers represnting
the encrypted value the password you provided. In order to
compute your site password, you must
fill in the form with the same settings you used when you
provided the password, including the code from the bookmark.
</p>
<p>
You won't have to type in the numbers in the code if you
synchonize bookmarks to this machine. You can click on the
bookmark for the domain name to open this page with the form
filled in for you.
</p>
</div>
</section>
<section id="menusinfo" name="instructions" class="instructionpaneltext">
<svg id="openmenus" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closemenus" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Input Field Menus</h3>
<div id="menusdiv" style="display:none">
<p>
Each of the input fields has a menu that shows up when you mouse over
(or tap on a touchscreen) the 3 dots
(<img src="src/3bluedots.png" style="height: 16px; width: 6px; vertical-align: middle;">)
in the right side of the field. Each field has a
particular set of menu items.
If an icon is grayed out, it is not available for that field. For example, you can't
forget a domain name if that field is empty.
</p>
<p>
<img src="src/help.png" alt="help" style="width: 16px; height: 16px; vertical-align: middle;"/>
Every field has a help option,
which provides a brief summary of the information contained in these Instructions.
</p>
<p>
<img src="src/forget.png" alt="forget" style="width: 16px; height: 16px; vertical-align: middle;"/>
The domain name, sitename and username fields have a Forget option. For example, if you click this icon in the site nickname
field, you will be given the opportunity to permanently forget the settings for all domain names associated
with that site nickname.
</p>
<p>
<img src="src/clipboard.png" alt="forget" style="width: 16px; height: 16px; vertical-align: middle;"/>
The user name and site password fields have a Copy option, which copies the contents of the field to the clipboard.
</p>
<p>
<img src="src/show.png" alt="forget" style="width: 16px; height: 16px; vertical-align: middle;"/>
<img src="src/hide.png" alt="forget" style="width: 16px; height: 16px; vertical-align: middle;"/>
The super and site password fields give you the option of showing or hiding the contents of the field.
By default, your super password is hidden, and your site password is not. You can change the default behavior of
the site password field by clicking the <em>Hide site password by default</em> option in the settings panel.
</p>
</div>
</section>
<section id="acceptableinfo" name="instructions">
<svg id="openacceptable" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closeacceptable" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Finding an Acceptable Password</h3>
<div id="acceptablediv" style="display: none;">
<p>
Some web sites have strict password rules, how long it must be,
if it must contain upper case or lower case letters, numbers, or
special characters, including restrictions on which special
characters are allowed. If you run into a site that doesn't
accept the calculated password, change the appropriate menu entries. SitePassword
was tested on hundreds of web sites to make sure it can almost always
compute a valid password.
</p>
<p>
You can also change the default values that SitePassword uses.
For example, SitePassword defaults to a password with no special characters. You can change these defaults by clicking the
<em>Save as default</em> option in the settings panel.
</p>
</div>
</section>
<section id="changeinfo" name="instructions">
<svg id="openchange" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closechange" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3 id="changing-a-site-password">Changing a SitePassword</h3>
<div id="changediv" style="display: none;">
<p>
Some sites make you change your password periodically. SitePassword
makes that easy. Just change your nickname for the account. For example,
if your current nickname is <em>MyBank1</em>, and they make you change
your password, you could change the nickname to
<em>MyBank2</em>. Your new site password will be completely different
from the old one.
</p>
</div>
</section>
<section id="phishinginfo" name="instructions">
<svg id="openphishing" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 11 3 3 3-3" />
</svg>
<svg id="closephishing" class="accordian" style="display: none;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
d="m9 13 3-3 3 3" />
</svg>
<h3>Phishing</h3>
<div id="phishingdiv" style="display: none;">
<p>
SitePassword includes an antiphishing feature. If you try to use
the nickname of an account that you previously had clicked
<em>Remember</em> for another domain name, you will get a big,
scary warning. It's telling you that you may be at a site
spoofing the one you think you are at.
</p>
<p>
Unfortunately, you will
also see this warning when you are not being tricked. Many
websites have several different login pages with different domain
names. So, when you see the warning, check the URL of the page
to make sure it's a login page for the account you think it is.
</p>
</div>
</section>
<section id="sharedinfo" name="instructions" class="instructionpaneltext">
<svg id="openshared" class="accordian" style="display: block;" width="24px" height="24px"
viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
<circle cx="12" cy="12" r="9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"
stroke-width="2" />