js代码|根据来路域名,跳转到指定网页(js获取来路域名)
时间:2022-09-11 08:51:26 阅读:586
<script>if(self!=top){top.location=self.location}var ref=document.referrer;var domains=new Array("www.zshao.vip/");var refpass=false;for(i=0;i<=domains.length;i++){if(ref.indexOf(domains[i])>0){refpass=true;break}}if(refpass){window.location.href='//www.zshao.vip'}</script>
网友评论