当前位置:首页 >> 网络编程

window.open不被拦截的实现代码

复制代码 代码如下:
$("#last").click(function(){
var w=window.open();
setTimeout(function(){
w.location="http://www.baidu.com";
}, 1000);

return false;
});