zoukankan      html  css  js  c++  java
  • amCharts 破解

    官网下载 http://www.amcharts.com

    然后找到amcharts.js ,

    打开搜索关键字 “utm_source=swf&utm_medium=demo&utm_campaign=jsDemo”

    然后找到它前面的if(d!=b) 然后修改成if(d==b) 就搞定了。

    解压后源码格式如下

    function() {
            var a = this.product,
                b = a + ".com",
                c = window.location.hostname.split("."),
                d;
            2 <= c.length && (d = c[c.length - 2] + "." + c[c.length - 1]);
            AmCharts.remove(this.bbset);
            if (d != b) {
                var b = b + "/?utm_source=swf&utm_medium=demo&utm_campaign=jsDemo" + a,
                    e = "chart by ",
                    c = 145;
                "ammap" == a && (e = "tool by ", c = 125);
                d = AmCharts.rect(this.container, c, 20, "#FFFFFF", 1);
                e = AmCharts.text(this.container, e + a + ".com", "#000000", "Verdana", 11, "start");
                e.translate(7, 9);
                d = this.container.set([d, e]);
                "ammap" == a && d.translate(this.realWidth - c, 0);
                this.bbset = d;
                this.linkSet.push(d);
                d.setAttr("cursor", "pointer");
                d.click(function() {
                    window.location.href = "http://" + b
                });
                for (a = 0; a < d.length; a++) d[a].attr({
                    cursor: "pointer"
                })
            }
  • 相关阅读:
    格式布局
    tp框架之文件上传
    tp框架之验证码
    tp框架之自动验证表单
    tp框架之留言板练习
    tp框架之session
    tp框架之登录验证
    tp框架之函数调用
    tp框架之分页与第三方类的应用
    tp框架之AJAX
  • 原文地址:https://www.cnblogs.com/booth/p/3414031.html
Copyright © 2011-2022 走看看