OLD | NEW |
1 <style> | 1 <style> |
2 #hsts-view-tab-content tt { | 2 #hsts-view-tab-content tt { |
3 word-wrap: break-word; | 3 word-wrap: break-word; |
4 } | 4 } |
5 </style> | 5 </style> |
6 | 6 |
7 <!-- HSTS tab --> | 7 <!-- HSTS tab --> |
8 <div id=hsts-view-tab-content class=content-box> | 8 <div id=hsts-view-tab-content class=content-box> |
9 <p> | 9 <p> |
10 HSTS is HTTPS Strict Transport Security: a way for sites to elect to | 10 HSTS is HTTPS Strict Transport Security: a way for sites to elect to |
11 always use HTTPS. See <a href="http://dev.chromium.org/sts" target=_blank> | 11 always use HTTPS. See <a href="http://dev.chromium.org/sts" target=_blank> |
12 http://dev.chromium.org/sts</a>.</p> | 12 http://dev.chromium.org/sts</a>.</p> |
13 | 13 |
14 <!-- This UI allows a user to query and update the browser's list of | 14 <!-- This UI allows a user to query and update the browser's list of |
15 HSTS domains. --> | 15 HSTS domains. --> |
16 | 16 |
17 <h4>Add domain</h4> | 17 <h4>Add domain</h4> |
18 | 18 |
19 <p>Input a domain name to add it to the HSTS set:</p> | 19 <p>Input a domain name to add it to the HSTS set:</p> |
20 <form id=hsts-view-add-form> | 20 <form id=hsts-view-add-form> |
21 Domain: <input type=text id=hsts-view-add-input type="url" | 21 Domain: <input type=text id=hsts-view-add-input type="url" |
22 placeholder="example.com"><br> | 22 placeholder="example.com"><br> |
23 Include subdomains: <input type="checkbox" id=hsts-view-check-input><br> | 23 Include subdomains: <input type="checkbox" id=hsts-view-check-input><br> |
24 Public key fingerprints: <input type=text id=hsts-view-add-pins style="width
: 25em;"><br> | 24 Public key fingerprints: <input type=text id=hsts-view-add-pins style="width
: 25em; max-width: 100%;"><br> |
25 <p style="font-size: small; color: gray; font-style: italic; margin-left: 2e
m; max-width: 40em;">(public key fingerprints are comma separated and consist of
the hash function followed by a foreslash and the base64 encoded fingerprint, f
or example <tt>sha1/Guzek9lMwR3KeIS8wwS9gBvVtIg=</tt>)</p> | 25 <p style="font-size: small; color: gray; font-style: italic; margin-left: 2e
m; max-width: 40em; max-width: 100%;">(public key fingerprints are comma separat
ed and consist of the hash function followed by a foreslash and the base64 encod
ed fingerprint, for example <tt>sha1/Guzek9lMwR3KeIS8wwS9gBvVtIg=</tt>)</p> |
26 <input type=submit value="Add" id=hsts-view-add-submit> | 26 <input type=submit value="Add" id=hsts-view-add-submit> |
27 </form> | 27 </form> |
28 | 28 |
29 <h4>Delete domain</h4> | 29 <h4>Delete domain</h4> |
30 | 30 |
31 <p> | 31 <p> |
32 Input a domain name to delete it from the HSTS set | 32 Input a domain name to delete it from the HSTS set |
33 (<i>you cannot delete preloaded entries</i>): | 33 (<i>you cannot delete preloaded entries</i>): |
34 </p> | 34 </p> |
35 <form id=hsts-view-delete-form> | 35 <form id=hsts-view-delete-form> |
36 Domain: <input type=text id=hsts-view-delete-input type="url" | 36 Domain: <input type=text id=hsts-view-delete-input type="url" |
37 placeholder="example.com"> | 37 placeholder="example.com"> |
38 <input type=submit value="Delete" id=hsts-view-delete-submit> | 38 <input type=submit value="Delete" id=hsts-view-delete-submit> |
39 </form> | 39 </form> |
40 | 40 |
41 <h4>Query domain</h4> | 41 <h4>Query domain</h4> |
42 | 42 |
43 <p>Input a domain name to query the current HSTS set:</p> | 43 <p>Input a domain name to query the current HSTS set:</p> |
44 <form id=hsts-view-query-form> | 44 <form id=hsts-view-query-form> |
45 Domain: <input type=text id=hsts-view-query-input type="url" | 45 Domain: <input type=text id=hsts-view-query-input type="url" |
46 placeholder="example.com"> | 46 placeholder="example.com"> |
47 <input type=submit value="Query" id=hsts-view-query-submit> | 47 <input type=submit value="Query" id=hsts-view-query-submit> |
48 </form> | 48 </form> |
49 <div style="margin-top: 1em; margin-left: 2em;" id=hsts-view-query-output></di
v> | 49 <div style="margin-top: 1em; margin-left: 2em;" id=hsts-view-query-output></di
v> |
50 </div> | 50 </div> |
OLD | NEW |