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 on 2009-10-21 09:36  NationWoo  阅读(286)  评论(0编辑  收藏  举报