amCharts: JavaScript/HTML5 charts 破解

来源:互联网 发布:淘宝站外推广有哪些 编辑:程序博客网 时间:2024/05/01 13:41

drb: function() {
        var a = "m,o,c,.,s,t,r,a,h,c,m,a".split(",").reverse().join(""),
        b = window.location.hostname.split(".");
        if (2 <= b.length) var d = b[b.length - 2] + "." + b[b.length - 1];
        AmCharts.remove(this.bbset);
        if (d != a) {
            a += "/?utm_source=swf&utm_medium=demo&utm_campaign=jsDemo";
            b = AmCharts.rect(this.container, 145, 20, "#FFFFFF", 1);
            d = AmCharts.text(this.container, "m,o,c,.,s,t,r,a,h,c,m,a, ,y,b, ,t,r,a,h,c".split(",").reverse().join(""),
            "#000000", "Verdana", 11, "start");
            d.translate(5, 8);
            this.bbset = b = this.container.set([b, d]);
            this.linkSet.push(b);
            b.click(function() {
                window.location.href = "http://" + a
            });
            for (d = 0; d < b.length; d++) b[d].attr({
                cursor: "pointer"
            })
        }
    }

 

只要把(d != a) 改成(d == a)即可

0 0
原创粉丝点击