基友们,怎么通过事件触发让浏览器页面主动关闭啊
function closePage(){
window.opener = null
window.open('about:blank', '_self')
window.close()
}
用这个方法页面能关了,但是会打开一个about:blank的空白页
展开
9