tor-browser

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

Promise-incumbent-global-subframe.sub.html (430B)


      1 <!DOCTYPE html>
      2 <iframe src="{{location[scheme]}}://{{domains[www2]}}:{{ports[http][0]}}{{location[path]}}/../Promise-incumbent-global-subsubframe.sub.html"></iframe>
      3 <script>
      4  document.domain = "{{host}}";
      5  onmessage = function(e) {
      6    if (e.data == "start") {
      7      frames[0].Promise.resolve().then(frames[0].postMessage.bind(frames[0], "start", "*"));
      8    } else {
      9      parent.postMessage(e.data, "*");
     10    }
     11  }
     12 </script>