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

    amCharts是免费试用的,不过会在上面加上“amchart by amcharts.com”。如果购买序列号也是挺贵的,单机版也需要99欧元。由于是js版,破解应该没什么问题,现在我就把破解过程记录下来。

    打开amcharts.js
    找到“amchart by amcharts.com”关键字,由于这个字没找到,原因是开发人员没那么笨,必然是经过一定加密的。然后通过找长145宽20,找到一下代码:
    复制代码
     1 drb: function() {
    2 var a = "m,o,c,.,s,t,r,a,h,c,m,a".split(",").reverse().join(""),
    3 b = window.location.hostname.split(".");
    4 if (2 <= b.length) var d = b[b.length - 2] + "." + b[b.length - 1];
    5 AmCharts.remove(this.bbset);
    6 if (d != a) {
    7 a += "/?utm_source=swf&utm_medium=demo&utm_campaign=jsDemo";
    8 b = AmCharts.rect(this.container, 145, 20, "#FFFFFF", 1);
    9 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(""),
    10 "#000000", "Verdana", 11, "start");
    11 d.translate(5, 8);
    12 this.bbset = b = this.container.set([b, d]);
    13 this.linkSet.push(b);
    14 b.click(function() {
    15 window.location.href = "http://" + a
    16 });
    17 for (d = 0; d < b.length; d++) b[d].attr({
    18 cursor: "pointer"
    19 })
    20 }
    21 }
    复制代码
    只要把(d != a) 改成(d == a)即
  • 相关阅读:
    随笔
    std::condition_variable(复习)
    随笔
    std::vector<std::vector<> >
    staitc_cast,const_cast....
    复制构造函数
    c++ 临时对象
    复制初始化和直接初始化
    随笔
    Fedora 安装oracle11g 之最简洁方式
  • 原文地址:https://www.cnblogs.com/wujilong/p/3127154.html
Copyright © 2011-2022 走看看