js关闭窗口不提示

用如下三行代码遍可以搞定:

window.opener=null;

window.open('','_self');

window.close();

posted @ 2013-01-23 10:55  小鬼ming  阅读(141)  评论(0编辑  收藏  举报