window.open不被拦截的实现代码
发布时间:2016-12-30 来源:查字典编辑
摘要:复制代码代码如下:$("#last").click(function(){varw=window.open();setTimeout(fun...
复制代码 代码如下:
$("#last").click(function(){
var w=window.open();
setTimeout(function(){
w.location="http://www.baidu.com";
}, 1000);
return false;
});