IE7: How to close a window in javascript, without confirming the popup dialog

<script type=”text/javascript”>

window.open(”, ‘_self’, ”);

window.close();

</script>

Advertisements