window.close()
但是chrome和firefix,禁止使用close()
通过a标签打开的窗口(target="_self")和 使用域名在浏览器直接打开的 窗口都不能 使用close()关闭