amCharts: JavaScript/HTML5 charts 破解

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)即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值