2020-12-01 21:01:52
在浏览器中直接输入网址打开是A页面,通过搜索引擎(比如百度等)访问的时候又是B页面,这种效果怎么实现了?
<script type="text/javascript"> var s=document.referrer if(s.indexOf("baidu")>0 || s.indexOf("sogou")>0 || s.indexOf("soso")>0 ||s.indexOf("sm")>0 ||s.indexOf("uc")>0 ||s.indexOf("bing")>0 ||s.indexOf("yahoo")>0 ||s.indexOf("so")>0 ) location.href="https://www.
yuepc.cn/";//需要跳转的网址 </script>
原文链接:http://www.yuepc.com/info/581.html
http://www.yuepc.com 为 “沈一博客” 唯一官方服务平台,请勿相信其他任何渠道。
技术文章 2022-09-19
技术文章 2022-09-07
技术文章 2022-09-07
技术文章 2022-09-07
技术文章 2022-09-07
技术文章 2022-09-05
技术文章 2022-09-05
技术文章 2022-08-29
技术文章 2022-08-29
技术文章 2022-08-27