windows.opener = null; //为了不出现弹窗 windows.close(); //再关闭 转载于:https://www.cnblogs.com/wangzong/archive/2013/01/11/2856477.html