js关闭页面(兼容浏览器)
function closewindow() { window.opener = null; window.open("", "_self"); window.top.close(); if (navigator.userAgent.indexOf("Firefox") > 0) { window.location.href = 'about:blank'; } }
function closewindow() { window.opener = null; window.open("", "_self"); window.top.close(); if (navigator.userAgent.indexOf("Firefox") > 0) { window.location.href = 'about:blank'; } }