1
chemzqm 2013-05-20 00:01:11 +08:00 1
这么变态,可能是google的closure-compiler干的
|
2
Ebola OP @chemzqm 完全不懂JS。。。求大神解答,倒数第三行 key = tim , 我想不通过他这个JS,用PHP能否算出这个key?
if (E == "<img alt=\"df\" src=\"images/loading2.gif\">") { var num = $('#textbox').val(); if (! (/[^[0-9]/.test(num)) && num.length == 15) { var mas = new Array(3); var ind = 0; for (iii = 0; iii < 3; iii++) { mas[iii] = new Array(5); for (ggg = 0; ggg < 5; ggg++) { mas[iii][ggg] = num.charAt(ind); ind++ } } var result = ""; for (iii = 4; iii >= 0; iii--) { for (ggg = 0; ggg < 3; ggg++) { result = result + mas[ggg][iii] } } var tim = ""; for (iii = 0, ggg = 13; iii < 7; iii++, ggg--) { tim += (parseInt(result.charAt(iii), 10) + parseInt(result.charAt(ggg), 10)) % 10 } key = tim } } |
5
catfan 2013-05-20 03:44:07 +08:00 1
这是Packer压缩出来的JavaScript代码 http://dean.edwards.name/packer/
|