tor-browser

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

image-submit-click.html (357B)


      1 <!DOCTYPE html>
      2 <form>
      3  <input type="image" name="name" value="value">
      4 </form>
      5 
      6 <script>
      7 "use strict";
      8 if (window.location.search.startsWith("?name.x")) {
      9  // The action pointed to ourself, so the form submitted something
     10  window.parent.success(window.location.href);
     11 } else {
     12  const input = document.querySelector("input");
     13  input.click();
     14 }
     15 </script>