tor-browser

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

index.html (472B)


      1 <!DOCTYPE html>
      2 <script>
      3 var width, url;
      4 function maybeReport() {
      5  if (width !== undefined && url !== undefined) {
      6    window.parent.postMessage({status: "result",
      7                               width,
      8                               url}, "*");
      9  }
     10 }
     11 onload = function() {
     12  width = document.querySelector("img").width;
     13  maybeReport();
     14 };
     15 navigator.serviceWorker.onmessage = function(event) {
     16  url = event.data;
     17  maybeReport();
     18 };
     19 </script>
     20 <img src="image-20px.png">