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