JS关闭页面不弹提示

 

示例:打开一个弹窗,关闭父页面,不弹出关闭提示。

window.opener = null;
window.open("flashindex.html","","fullscreen=1,menubar=0,toolbar=0,directories=0,location=0,status=0,scrollbars=yes,resizable=yes");
window.open('', '_self');
window.close();

你可能感兴趣的:(js)