Source code
Revision control
Copy as Markdown
Other Tools
<script>
  onload = function() {
    opener.postMessage("load");
  }
  onbeforeunload = function() {
    opener.postMessage("beforeunload");
    history.pushState("data1", "", "?push1");
  }
</script>