tor-browser

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

permissions-policy-ch-ua-high-entropy-values.html (386B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testdriver.js"></script>
      3 <script src="/resources/testdriver-vendor.js"></script>
      4 <script>
      5 window.onload = async function() {
      6  const hints = await navigator.userAgentData.getHighEntropyValues(["bitness"]);
      7  const enabled = hints.hasOwnProperty("bitness");
      8  window.parent.postMessage({ type: 'availability-result', enabled }, "*");
      9 };
     10 </script>