tor-browser

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

1074733-1.html (638B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="UTF-8">
      5    <script type="text/javascript">
      6      function bodyonload() {
      7        var canvas=document.getElementById('test');
      8        var ctx = canvas.getContext("2d");
      9        ctx.fillStyle = 'green';
     10        ctx.fillRect(150, 50, -151, 50); // left at -1
     11        ctx.fillStyle = 'red';
     12        ctx.rect(150, 100, -151, 50); // left at -1
     13        ctx.fill();
     14        ctx.fillStyle = 'blue';
     15        ctx.fillRect(150, 150, -150, 50); // left at 0
     16      }
     17    </script>
     18  </head>
     19  <body onload="bodyonload();">
     20    <canvas id="test" width="200" height="200"></canvas>
     21  </body>
     22 </html>