tor-browser

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

doc_native-event-handler.html (738B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2     http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <!doctype html>
      4 <html lang="en">
      5  <head>
      6    <meta charset="utf-8">
      7    <title>A video element with native event handlers</title>
      8    <script type="text/javascript">
      9      "use strict";
     10 
     11      /* exported initialSetup */
     12      function initialSetup() {
     13        // eslint-disable-next-line no-debugger
     14        debugger;
     15      }
     16      window.addEventListener("load", function() {});
     17    </script>
     18  </head>
     19  <body>
     20    <button onclick="initialSetup()">Click me!</button>
     21    <!-- the "controls" attribute ensures that there are extra event handlers in
     22         the element. -->
     23    <video controls></video>
     24  </body>
     25 </html>