ff中无法使用window.close()原因解决: 1、在ff地址栏上使用"about:config" 2、搜索“dom.allow_scripts_to_close_windows” 3、修改值为“true”。