1 2 3 4 5
<script> const params = new URLSearchParams(window.location.search); opener.postMessage({msg: "ready", token: params.get("token")}, "*"); window.history.back(); </script>