| OLD | NEW |
| (Empty) |
| 1 <!-- HSTS tab --> | |
| 2 <div id=hstsTabContent> | |
| 3 <p> | |
| 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"> | |
| 6 http://dev.chromium.org/sts</a>.</p> | |
| 7 | |
| 8 <!-- This UI allows a user to query and update the browser's list of | |
| 9 HSTS domains. --> | |
| 10 | |
| 11 <h4>Add domain</h4> | |
| 12 | |
| 13 <p>Input a domain name to add it to the HSTS set:</p> | |
| 14 <form id=hstsAddForm> | |
| 15 Domain: <input type=text id=hstsAddInput type="url" | |
| 16 placeholder="example.com"/><br/> | |
| 17 Include subdomains: <input type="checkbox" id=hstsCheckInput /><br/> | |
| 18 Public key fingerprints: <input type=text id=hstsAddPins 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> | |
| 20 <input type=submit value="Add" /> | |
| 21 </form> | |
| 22 | |
| 23 <h4>Delete domain</h4> | |
| 24 | |
| 25 <p> | |
| 26 Input a domain name to delete it from the HSTS set | |
| 27 (<i>you cannot delete preloaded entries</i>): | |
| 28 </p> | |
| 29 <form id=hstsDeleteForm> | |
| 30 Domain: <input type=text id=hstsDeleteInput type="url" | |
| 31 placeholder="example.com"/> | |
| 32 <input type=submit value="Delete" /> | |
| 33 </form> | |
| 34 | |
| 35 <h4>Query domain</h4> | |
| 36 | |
| 37 <p>Input a domain name to query the current HSTS set:</p> | |
| 38 <form id=hstsQueryForm> | |
| 39 Domain: <input type=text id=hstsQueryInput type="url" | |
| 40 placeholder="example.com"/> | |
| 41 <input type=submit value="Query" /> | |
| 42 </form> | |
| 43 <div style="margin-top: 1em; margin-left: 2em;" id=hstsQueryOutput></div> | |
| 44 </div> | |
| OLD | NEW |