tor-browser

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

middle-frame.https.sub.html (584B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4  <title>Utility page which embeds a reporting page on the chosen host</title>
      5 </head>
      6 <body>
      7  <script>
      8      const searchParams = new URLSearchParams(window.location.search);
      9      const host = searchParams.get('host') || '{{hosts[][]}}';
     10      const reportID = searchParams.get('reportID') || '';
     11      const frame = document.createElement('iframe');
     12      frame.src = `https://${host}:{{ports[https][0]}}/reporting/resources/same-origin-report.https.sub.html?reportID=${reportID}`;
     13      document.body.appendChild(frame);
     14  </script>
     15 </body>
     16 </html>