tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

autocomplete_off_on_inputs.html (4807B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Form Autofill Demo Page with autocomplete set to off on inputs within form elements</title>
      6 </head>
      7 <body>
      8  <h1>Form Autofill Demo Page with autocomplete set to off on inputs within form elements</h1>
      9  <form id="form">
     10    <p><label>organization: <input type="text" id="organization" name="organization" autocomplete="off" /></label></p>
     11    <p><label>streetAddress: <input type="text" id="street-address" name="street-address" autocomplete="off" /></label></p>
     12    <p><label>addressLevel2: <input type="text" id="address-level2" name="address-level2" autocomplete="off" /></label></p>
     13    <p><label>addressLevel1: <input type="text" id="address-level1" name="address-level1" autocomplete="off" /></label></p>
     14    <p><label>postalCode: <input type="text" id="postal-code" name="postal-code" autocomplete="off" /></label></p>
     15    <p><label>country: <input type="text" id="country" name="country" autocomplete="off" /></label></p>
     16    <p><label>tel: <input type="text" id="tel" name="tel" autocomplete="off" /></label></p>
     17    <p><label>email: <input type="text" id="email" name="email" autocomplete="off" /></label></p>
     18    <p><input type="submit" /></p>
     19    <p><button type="reset">Reset</button></p>
     20  </form>
     21 
     22  <form id="formB">
     23    <p><label>Organization: <input type="text" autocomplete="off" /></label></p>
     24    <p><label><input type="text" id="B_address-line1" autocomplete="off" /></label></p>
     25    <p><label><input type="text" name="address-line2" autocomplete="off" /></label></p>
     26    <p><label><input type="text" id="B_address-line3" name="address-line3" autocomplete="off" /></label></p>
     27    <p><label>City: <input type="text" name="address-level2" autocomplete="off" /></label></p>
     28    <p><label>State: <select id="B_address-level1" autocomplete="off" ></select></label></p>
     29    <p><input type="text" id="B_postal-code" name="postal-code" autocomplete="off" /></p>
     30    <p><label>Country: <select multiple id="B_country" name="country" autocomplete="off" ></select></label></p>
     31    <p><label>Telephone: <input id="B_tel" name="tel" autocomplete="off" /></label></p>
     32    <p><label>Email: <input type="text" id="B_email" name="email" autocomplete="off" /></label></p>
     33    <hr>
     34    <p><label>cc-number <input type="text" id="B_cc-number" autocomplete="off" /></label></p>
     35    <p><label>cc-name <input type="text" id="B_cc-name" autocomplete="off" /></label></p>
     36    <p><label>cc-exp-month <input type="text" id="B_cc-exp-month" autocomplete="off" /></label></p>
     37    <p><label>cc-exp-year <input type="text" id="B_cc-exp-year" autocomplete="off" /></label></p>
     38    <hr>
     39    <p><input type="submit" /></p>
     40    <p><button type="reset">Reset</button></p>
     41  </form>
     42 
     43  <form id="formC">
     44    <p><label><input type="text" name="someprefixAddrLine1" autocomplete="off" /></label></p>
     45    <p><label>City: <input type="text" name="address-level2" autocomplete="off" /></label></p>
     46    <p><label><input type="text" name="someprefixAddrLine2" autocomplete="off" /></label></p>
     47    <p><label>Organization: <input type="text" name="organization" autocomplete="off" /></label></p>
     48    <p><label><input type="text" name="someprefixAddrLine3" autocomplete="off" /></label></p>
     49  </form>
     50 
     51  <form id="formD">
     52    <!--
     53      Ensure heuristics can correctly identify fields when there are
     54      autocomplete="off" fields as well as missing autocomplete attributes
     55    -->
     56    <p><label>Organization: <input type="text" autocomplete="organization" /></label></p>
     57    <p><label><input type="text" id="B_address-line1" autocomplete="off" /></label></p>
     58    <p><label><input type="text" name="address-line2" /></label></p>
     59    <p><label><input type="text" id="B_address-line3" name="address-line3" autocomplete="off" /></label></p>
     60    <p><label>City: <input type="text" name="address-level2" /></label></p>
     61    <p><label>State: <select id="B_address-level1" autocomplete="address-level1" ></select></label></p>
     62    <p><input type="text" id="B_postal-code" name="postal-code" /></p>
     63    <p><label>Country: <select multiple id="B_country" name="country" autocomplete="off" ></select></label></p>
     64    <p><label>Telephone: <input id="B_tel" name="tel" autocomplete="tel" /></label></p>
     65    <p><label>Email: <input type="text" id="B_email" name="email" autocomplete="off" /></label></p>
     66    <hr>
     67    <p><label>cc-number <input type="text" id="B_cc-number" autocomplete="off" /></label></p>
     68    <p><label>cc-name <input type="text" id="B_cc-name" autocomplete="cc-name" /></label></p>
     69    <p><label>cc-exp-month <input type="text" id="B_cc-exp-month" /></label></p>
     70    <p><label>cc-exp-year <input type="text" id="B_cc-exp-year" /></label></p>
     71    <hr>
     72    <p><input type="submit" /></p>
     73    <p><button type="reset">Reset</button></p>
     74  </form>
     75 
     76 </body>
     77 </html>