alert弹出窗口,点击确认后关闭页面

alert("点击确认后,关闭页面");
window.opener=null;window.top.open('','_self','');window.close(this);
原文地址:https://www.cnblogs.com/zzdbullet/p/11525555.html