tor-browser

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

004-1.html (697B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>Data URI does not match absolute HTTP URL</title>
      5    <style type="text/css">
      6 html, body { margin: 0; padding: 0; }
      7 div { height: 100px; width: 100px; background: orange; }
      8    </style>
      9    <script type="text/javascript" src="../resources/crossorigin.sub.js"></script>
     10    <script type="text/javascript">
     11 window.onload = function () {
     12  document.getElementsByTagName('div')[0].ondragstart = function (e) {
     13    e.dataTransfer.effectAllowed = 'copy';
     14    e.dataTransfer.setData('text','dummy text');
     15    e.dataTransfer.allowTargetOrigin('http://'+httpHostMain);
     16  };
     17 };
     18    </script>
     19  </head>
     20  <body>
     21 
     22    <div draggable="true"></div>
     23 
     24  </body>
     25 </html>