tor-browser

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

1769082-1.html (506B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 
      4 <div style="width: 100px; height: 100px;">
      5    <canvas id="c" width="100" height="100"></canvas>
      6 </div>
      7 
      8 <script>
      9 var ctx = document.getElementById('c').getContext('2d');
     10 var grd = ctx.createLinearGradient(0, 0, 100, 0);
     11 grd.addColorStop(0, 'black');
     12 grd.addColorStop(1, 'white');
     13 ctx.fillStyle = grd;
     14 ctx.fillRect(0, 0, 100, 100);
     15 
     16 ctx.globalCompositeOperation = 'luminosity';
     17 ctx.globalAlpha = 0.8;
     18 ctx.fillStyle = 'white';
     19 ctx.fillRect(0, 0, 100, 100);
     20 </script>