windows.close()关闭IE时不提示的JS方法

window.opener=null;
window.open('','_self');
window.close();

据说兼容IE6/7/8

你可能感兴趣的:(javaScript)