tor-browser

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

iframe.py (289B)


      1 def main(request, response):
      2    headers = [(b"Content-Type", b"text/html"),
      3               (b"Cross-Origin-Resource-Policy", request.GET[b'corp'])]
      4    return 200, headers, b"<body><h3>The iframe</h3><script>window.onmessage = () => { parent.postMessage('pong', '*'); }</script></body>"