窗口操作

152 阅读1分钟

关闭当前窗口

window.opener = null
window.open("about:blank", "_top").close()

刷新父窗口

window.opener.location.reload()