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


  本文标签:window.open,不被拦截

复制代码 代码如下:

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

return false;
});