<script> parent.document.body.removeChild(parent.document.getElementsByTagName("iframe")[0]); </script>