这样就可以在FF中使用window.close函数了
用js弹出浏览器窗口:
window.open("http://localhost:8080/demo/demo.html","popup","width=460,height=580,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes")
?
demo.html页面中如果调用了window.close,那么将无条件关闭