tor-browser

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

001-1.xhtml (658B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4 <title>Cross page drag and drop: helper file</title>
      5 <style type="text/css">
      6 html, body
      7  {height:100%;}
      8 </style>
      9 <script type="application/ecmascript">
     10 function addImage(event)
     11  {var c = document.createElement('img');
     12  c.setAttribute('src',event.dataTransfer.getData('text/uri-list').replace(/\r\n$/,''));
     13  document.querySelector('body').appendChild(c);}
     14 </script>
     15 </head>
     16 <body ondragenter="event.preventDefault()" ondragover="return false" ondrop="addImage(event)">
     17 <p>Drop canvas now, it should be copied to this page once you drop it here.</p>
     18 </body>
     19 </html>