amCharts 破解
然后找到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" }) }