<script type="text/javascript" src="http://tj.ranknowcn.com/tj/t.php?site=709"></script>
t.php?site=709是什么啊?能找到这个文件,但是打不开!

解决方案 »

  1.   

    “打不开” 要具体描述
    这是一个由php程序根据site参数输出不同js代码的文件
      

  2.   

    浏览器地址栏加入 http://tj.ranknowcn.com/tj/t.php?site=709
    就可得到if(typeof(RN_LOADED)=='undefined')
    {
    var RN_LOADED = 1;
    (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = 'http://tj.ranknowcn.com/tj/t.js.php?site=709&url='+encodeURIComponent(document.location)+'&rnd=1421910611.7041';
    setTimeout(function(){
    var s = document.getElementsByTagName('HEAD')[0]; 
    if(s) s.parentNode.insertBefore(ga, s);
    },1)
    })();
    }
    /////////// 2012-10-19 ////////////////
    /*var metis_img = new Image;
    window.global_random = +new Date();
    metis_img.src = 'http://stats.yqing.cn/pv2.gif?s=' + window.global_random;*/
    var metis_protocol = "https:" == document.location.protocol ? "https:": "http:";
    window.global_random = +new Date();
    var metis_stat = function(){
    this.stat_server = 'http://stats.yqing.cn/pv.gif?'
    this.site_id = 709;
    this.cookie_pre = 'METIS_COOKIE_STAT';
    this.uri = document.location.href;
    this.referrer = document.referrer;
    }
    metis_stat.prototype = {
    init:function(){
    this.getUid();
    this.getLanguage();
    this.getScreen();
    this.log();
    },
    getUid:function(){
    var cookie = document.cookie;
    var m = cookie.match(/METIS_COOKIE_STAT_USER=([^;]+);?/)
    if (m) {
    this.uid = m[1];
    this.is_new = 0;
    }else{
    var guid = this.GUID();
    document.cookie = this.cookie_pre + "_USER=" + guid + "; expires=Fri, 3 Aug 2099 00:00:00 UTC; path=/";
    this.uid = guid;
    this.is_new = 1;
    }
    },
    GUID:function()
    {
        var S4 = function ()
        {
            return Math.floor(
                    Math.random() * 0x10000
                ).toString(16);
        };
        return (
                S4() + S4() + S4() + S4() + S4()+ S4()+ S4()+ S4()
            );
    },
    getLanguage: function() {
            this.lg = navigator.systemLanguage || navigator.language;
            this.lg = this.lg.toLowerCase();
        },
        getScreen: function() {
            this.screen = screen.width + "x" + screen.height;
        },
        log:function(){
         var img = new Image;
         var self = this;
         var args = ['sid='+self.site_id,'l='+encodeURIComponent(self.uri),'r='+encodeURIComponent(self.referrer),/*'b='+self.browser,'v='+self.version,'p='+self.platform,*/'u='+self.uid,'la='+self.lg,'s='+self.screen,'t='+parseInt(new Date() / 1000),'n='+self.is_new,'ra='+window.global_random];
         img.src = self.stat_server + args.join('&');
        }
    };
    var metis__stat = new metis_stat;
    metis__stat.init();
    /*var metis_img2 = new Image;
    metis_img2.src = 'http://stats.yqing.cn/pv3.gif?s=' + window.global_random;*/