61,112
社区成员
发帖
与我相关
我的任务
分享
$(document).ready(function() {
window.open("http://cn.bing.com", null, "location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0");
window.close();
});
不过
1. 首先浏览器必须设置能弹窗。
2. IE8能设置状态栏等显示隐藏,IE8以上或以下不确定,CHROME设置没效果
3. window.close()时,IE8会弹出提示框