js直接关闭窗口不提示ie6.0,ie7.0通用

IE6:
<script>
window.opener=null;
window.close();
</script>


IE7:
<script>
window.open('','_self');
window.close();
</script>


IE6、IE7、FF通用代码:
<script>
window.opener=null;
window.open('','_self');
window.close();
</script>

posted @ 2009-11-28 17:22  ForFreeDom  阅读(199)  评论(0编辑  收藏  举报