@
m31271n 看到了。请问这段代码中,下面两段分别什么意思呢?以及 b 赋值是什么呢?
a = c.length ? c[0].value : d.length ? d[0].value : "";
d = b.find("input[name\x3demail]")
function l(b) {
b.on("submit", function() {
var c = b.find("#session_key-login"), d = b.find("input[name\x3demail]"), a, e, f;
a = c.length ? c[0].value : d.length ? d[0].value : "";
Date.now || (Date.now = function() {
return (new Date).getTime()
}
);
c = Date.now();
d = m().join(":");
f = a + ":" + d;
window.jsRandomCalculator ? (e = window.jsRandomCalculator.computeJson ? window.jsRandomCalculator.computeJson({
ts: c,
n: d,
email: a
}) : window.jsRandomCalculator.compute(d, a, c),
a = window.jsRandomCalculator.version) : a = e = "";
g("client_ts", c, b);
g("client_r", f, b);
g("client_output", e, b);
g("client_n", d, b);
g("client_v", a, b)
})
}
function m() {
var b = [], c;
for (c = 0; 3 > c; c++)
b[c] = Math.floor(9E8 * Math.random()) + 1E8;
return b
}
function g(b, c, d) {
var a = $("input[name\x3d" + b + "]", d);
a.length ? a.val(c) : (a = document.createElement("input"),
a.setAttribute("type", "hidden"),
a.setAttribute("name", b),
a.setAttribute("value", c),
d.append(a))