js随机跳转网址代码

 <script>
  setTimeout(function(){
   var arr=['http://网址一','http://网址二','http://网址三'];
  window.location.href=arr[parseInt(Math.random()*arr.length)];
  },100);
  </script>

作者头像
哆哆盘创始人

上一篇:使用腾讯云静态储存空间搭建自己的分享页,下载页,中间页
下一篇:大山的女儿

发表评论

https://s.click.taobao.com/CfzAAut