js获取返回首页

 <script>
setTimeout(function(){
    window.location.href="http://"+window.location.host;
},5000);
</script> 

转载请注明出处: 欢迎留言或qq(1090413588)交流
原文地址:https://www.cnblogs.com/linyusong/p/5528166.html