无需确认关闭窗口: window.opener = null; window.close(); 并 解决:window.opener=null;window.close(),只支持IE6不支持IE7的问题,在window.opener=null;window.close()之间加入window.open( ' ', '_self '); 就OK了! 转载于:https://www.cnblogs.com/yi-yuan-ke/p/3755117.html