tor-browser

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

1238795-1.html (567B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <meta charset="UTF-8">
      5    <script>
      6      function draw() {
      7        var c = document.getElementById('c').getContext('2d');
      8        var img = document.getElementById("img");
      9 
     10        c.fillStyle = 'red';
     11        c.fillRect(0, 0, 200, 200);
     12 
     13        c.rect(0, 0, 100, 100);
     14        c.clip();
     15 
     16        c.drawImage(img, 0, 0, 200, 200);
     17      }
     18    </script>
     19  </head>
     20  <body onload="draw();">
     21    <canvas id='c' width='200' height='200'></canvas>
     22    <img id="img" src="image_green-16x16.png" style="display:none">
     23  </body>
     24 </html>