<script> opener.postMessage('done', '*'); </script> This frame sends a 'done' message to the opener window.