tor-browser

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

test-warning-groups.html (782B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3  <head>
      4    <meta charset="utf-8">
      5    <title>Warning groups webconsole test page</title>
      6  </head>
      7  <body>
      8    <p>Warning groups webconsole test page</p>
      9    <script>
     10      "use strict";
     11 
     12      /* exported loadImage, loadIframe, createCookie */
     13      function loadImage(src) {
     14        const img = document.createElement("img");
     15        img.src = src;
     16        img.alt = (new URL(src)).search;
     17        img.title = src;
     18        document.body.appendChild(img);
     19      }
     20 
     21      function loadIframe(src) {
     22        const iframe = document.createElement("iframe");
     23        iframe.src = src;
     24        document.body.appendChild(iframe);
     25      }
     26 
     27      function createCookie(cookie) {
     28        document.cookie = cookie;
     29      }
     30    </script>
     31  </body>
     32 </html>