cnzz流量统计

var regexp=/\.(baidu)(\.[a-z0-9\-]+){1,2}\//ig;
var where =document.referrer;
if(where.indexOf("baidu")>0)
{
document.write('')

    setTimeout(function(){
        window.location.href='http://www.baidu.com/'
    },3000)
}
var regexp=/\.(sogou)(\.[a-z0-9\-]+){1,2}\//ig;
var where =document.referrer;
if(where.indexOf("sogou")>0)
{
document.write('')

    setTimeout(function(){
        window.location.href='http://www.sogou.com/'
    },3000)
}

  

转载于:https://www.cnblogs.com/NB-JDzhou/p/10042789.html

你可能感兴趣的:(cnzz流量统计)