tor-browser

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

pus-page-template.html (493B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>prerender-until-script</title>
      5 </head>
      6 <body>
      7 <h1>This is the prerendering request.</h1>
      8 <div>
      9 <script async src="{{signal_path}}"></script>
     10 </div>
     11 <script src="/speculation-rules/prerender/resources/utils.js"></script>
     12 <script>
     13  const testChannel = new PrerenderChannel('test-channel');
     14  testChannel.postMessage(
     15      `prerendering state when executing JS: ${document.prerendering}`);
     16  testChannel.close();
     17  window.close();
     18 </script>
     19 </body>
     20 </html>