| OLD | NEW |
| 1 <!-- HSTS tab --> | 1 <!-- HSTS tab --> |
| 2 <div id=hsts-view-tab-content class=content-box> | 2 <div id=hsts-view-tab-content class=content-box> |
| 3 <p> | 3 <p> |
| 4 HSTS is HTTPS Strict Transport Security: a way for sites to elect to | 4 HSTS is HTTPS Strict Transport Security: a way for sites to elect to |
| 5 always use HTTPS. See <a href="http://dev.chromium.org/sts" target=_blank> | 5 always use HTTPS. See <a href="http://dev.chromium.org/sts" target=_blank> |
| 6 http://dev.chromium.org/sts</a>.</p> | 6 http://dev.chromium.org/sts</a>.</p> |
| 7 | 7 |
| 8 <!-- This UI allows a user to query and update the browser's list of | 8 <!-- This UI allows a user to query and update the browser's list of |
| 9 HSTS domains. --> | 9 HSTS domains. --> |
| 10 | 10 |
| 11 <h4>Add domain</h4> | 11 <h4>Add domain</h4> |
| 12 | 12 |
| 13 <p>Input a domain name to add it to the HSTS set:</p> | 13 <p>Input a domain name to add it to the HSTS set:</p> |
| 14 <form id=hsts-view-add-form> | 14 <form id=hsts-view-add-form> |
| 15 Domain: <input type=text id=hsts-view-add-input type="url" | 15 Domain: <input type=text id=hsts-view-add-input type="url" |
| 16 placeholder="example.com"/><br/> | 16 placeholder="example.com"><br> |
| 17 Include subdomains: <input type="checkbox" id=hsts-view-check-input /><br/> | 17 Include subdomains: <input type="checkbox" id=hsts-view-check-input><br> |
| 18 Public key fingerprints: <input type=text id=hsts-view-add-pins style="width
: 25em;"/><br/> | 18 Public key fingerprints: <input type=text id=hsts-view-add-pins style="width
: 25em;"><br> |
| 19 <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> | 19 <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> |
| 20 <input type=submit value="Add" id=hsts-view-add-submit /> | 20 <input type=submit value="Add" id=hsts-view-add-submit> |
| 21 </form> | 21 </form> |
| 22 | 22 |
| 23 <h4>Delete domain</h4> | 23 <h4>Delete domain</h4> |
| 24 | 24 |
| 25 <p> | 25 <p> |
| 26 Input a domain name to delete it from the HSTS set | 26 Input a domain name to delete it from the HSTS set |
| 27 (<i>you cannot delete preloaded entries</i>): | 27 (<i>you cannot delete preloaded entries</i>): |
| 28 </p> | 28 </p> |
| 29 <form id=hsts-view-delete-form> | 29 <form id=hsts-view-delete-form> |
| 30 Domain: <input type=text id=hsts-view-delete-input type="url" | 30 Domain: <input type=text id=hsts-view-delete-input type="url" |
| 31 placeholder="example.com"/> | 31 placeholder="example.com"> |
| 32 <input type=submit value="Delete" id=hsts-view-delete-submit /> | 32 <input type=submit value="Delete" id=hsts-view-delete-submit> |
| 33 </form> | 33 </form> |
| 34 | 34 |
| 35 <h4>Query domain</h4> | 35 <h4>Query domain</h4> |
| 36 | 36 |
| 37 <p>Input a domain name to query the current HSTS set:</p> | 37 <p>Input a domain name to query the current HSTS set:</p> |
| 38 <form id=hsts-view-query-form> | 38 <form id=hsts-view-query-form> |
| 39 Domain: <input type=text id=hsts-view-query-input type="url" | 39 Domain: <input type=text id=hsts-view-query-input type="url" |
| 40 placeholder="example.com"/> | 40 placeholder="example.com"> |
| 41 <input type=submit value="Query" id=hsts-view-query-submit /> | 41 <input type=submit value="Query" id=hsts-view-query-submit> |
| 42 </form> | 42 </form> |
| 43 <div style="margin-top: 1em; margin-left: 2em;" id=hsts-view-query-output></di
v> | 43 <div style="margin-top: 1em; margin-left: 2em;" id=hsts-view-query-output></di
v> |
| 44 </div> | 44 </div> |
| OLD | NEW |