amCharts: JavaScript/HTML5 charts 破解
amCharts是免费试用的,不过会在上面加上“amchart by amcharts.com”。
打开amcharts.js,js是被压缩过的,首先到http://box.inote.cc/这个网站解压缩。
找到“amchart by amcharts.com”关键字,由于这个字没找到,通过找其属性长145宽20“145,2”;
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
});
将if的条件改成d==a。保存文件即可去除。