<script>window.onload = function() { opener.postMessage('loaded', '*'); }</script><body>Should show</body>