amCharts: JavaScript/HTML5 charts 破解

來源:互聯網
上載者:User

amCharts是免費試用的,不過會在上面加上“amchart by amcharts.com”。如果購買序號也是挺貴的,單機版也需要99歐元。由於是js版,破解應該沒什麼問題,現在我就把破解過程記錄下來。

開啟amcharts.js,js是本壓縮過的,首先到http://box.inote.cc/這個網站解壓縮。找到“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)即可 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.