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>

你可能感兴趣的:(ie6)