tor-browser

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

file_resource_cache_frame_cacheable.html (460B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 <title>Load redirecting CSS</title>
      5 </head>
      6 <body>
      7 hello
      8 <script>
      9 var us = window.location.href;
     10 var baseURL = us.substring(0, us.lastIndexOf('/') + 1);
     11 var serverFilename = "file_resource_cache_server.sjs";
     12 
     13 const s = document.createElement("link");
     14 s.setAttribute("rel", "stylesheet");
     15 s.setAttribute("type", "text/css");
     16 s.href = baseURL + serverFilename + "?redirect-cache";
     17 document.head.append(s);
     18 </script>
     19 </body>
     20 </html>