tor-browser

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

presentation-receiver-inner.html (469B)


      1 <!DOCTYPE html>
      2 <script src="utils.js"></script>
      3 <title>Fenced frame content to report the result of navigator.presentation.receiver</title>
      4 
      5 <body>
      6 <script>
      7 (async () => {
      8  const [presentation_receiver_key] = parseKeylist();
      9  const result = await navigator.presentation.receiver;
     10  if (result == null) {
     11    writeValueToServer(presentation_receiver_key, "denied");
     12  } else {
     13    writeValueToServer(presentation_receiver_key, "allowed");
     14  }
     15 })();
     16 </script>
     17 </body>