tor-browser

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

secure-connection-test.html (447B)


      1 <!doctype html>
      2 <script>
      3 const entries =  performance.getEntriesByType("navigation");
      4 if (!entries) {
      5  window.top.postMessage("FAIL - not supported", "*");
      6 }
      7 const entry = entries[0];
      8 if (entry.secureConnectionStart != entry.fetchStart) {
      9  window.top.postMessage("FAIL - unexpected secureConnectionStart value of " +
     10    entry.secureConnectionStart + " does not equal " + entry.fetchStart, "*");
     11 }
     12 window.top.postMessage("PASS", "*");
     13 </script>