tor-browser

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

promise-job-entry-incumbent.html (452B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>Incumbent page used as a test helper</title>
      4 
      5 <iframe src="relevant/relevant.html" id="r"></iframe>
      6 <iframe src="current/current.html" id="c"></iframe>
      7 
      8 <script>
      9  const relevant = document.querySelector("#r");
     10  const current = document.querySelector("#c");
     11 
     12  window.runWindowOpenVeryIndirectly = (...args) => {
     13    return current.contentWindow.open.call(relevant.contentWindow, ...args);
     14  };
     15 </script>