Source code
Revision control
Copy as Markdown
Other Tools
<html>
<head>
<script>
addEventListener("pageshow", () => {
// Let's unblock the synchronous XHR in the opener.
let xhr = new XMLHttpRequest();
xhr.addEventListener("load", () => {
opener.postMessage("redirectDone", "*");
});
xhr.send();
});
</script>
</head>
</html>