tor-browser

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

postmessage-config.html (353B)


      1 <!DOCTYPE html>
      2 <script src="utils.js"></script>
      3 <title>A page opened in a pop-up that sends a FencedFrameConfig</title>
      4 <script>
      5  async function init() {
      6    const [key] = parseKeylist();
      7 
      8    const config = await generateURNFromFledge(
      9          "embeddee.html", [key], [], true);
     10 
     11    window.opener.postMessage(config, "*");
     12  }
     13  init();
     14 </script>