tor-browser

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

ancestor-throttle-nested.https.html (634B)


      1 <!DOCTYPE html>
      2 <html>
      3 <script src="utils.js"></script>
      4 <title>Header Inheritance CSP Reporting Page</title>
      5 <body>
      6 <script>
      7 // This file is embedded in an iframe by ancestor-throttle-inner.https.html
      8 // which in turn has been embedded in a fenced frame by
      9 // ancestor-throttle.https.html. This in turn will load a same-origin iframe.
     10 async function init() {
     11  const url = new URL(location.href);
     12  const embed_url = generateURL(url.searchParams.get("nested_url"),
     13      parseKeylist());
     14  const iframe = document.createElement('iframe');
     15  iframe.src = embed_url;
     16  document.body.append(iframe);
     17 }
     18 
     19 init();
     20 </script>
     21 </body>
     22 </html>