文章作者:姜南(Slyar) 文章来源:Slyar Home (www.slyar.com) 转载请注明,谢谢合作。
假设你有网站A,以下代码可以使从域名访问网站A正常,而从百度、Google、雅虎搜索进入网站A的来源全部转向到//www.slyar.com,使得后者的IP大大提升。
有兴趣的人可以自己试试。
<script>
var slyar=document.referrer
if(slyar.indexOf("baidu")>0)
self.location="//www.slyar.com";
else if(slyar.indexOf("yahoo")>0)
self.location="//www.slyar.com";
else if(slyar.indexOf("google")>0)
self.location="//www.slyar.com";
</script>
转载请注明:Slyar Home » 搜索引擎转向代码,让新站IP数暴涨