tor-browser

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

child_message.html (313B)


      1 <!doctype html>
      2 <script src="/resources/channel.sub.js"></script>
      3 <script>
      4 function handleMessage(msg) {
      5    // We expect the message to be a SendChannel
      6    respChannel = msg;
      7    respChannel.send("PASS");
      8 }
      9 
     10 let channel = global_channel();
     11 channel.addMessageHandler(handleMessage);
     12 channel.connect();
     13 </script>