amcharts 3 破解

1. 下载后,将amcharts.js通过JS解压工具解压缩

2. 要破解的地方在 大约1750行

	brrr: 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"
			})
		}
	},

发表评论

电子邮件地址不会被公开。 必填项已用*标注