最近公司有个任务要做JS绑定域名防止盗用 从网上找到一段 但是不知道运行的原理 大家帮忙看看 谢谢
function() {
"use strict";
!function(a, b) {
var c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v;
if (e = 13152551, l = function(a) {
var b, c, d, f;
for (f = [], c = 0, d = a.length; d > c; c++) b = a[c], f.push(b ^ e);
return f;
}, i = function(a) {
var b;
return b = l(a), String.fromCharCode.apply(String, b);
}, f = function() {
var b, c, d, e, f, g, h;
return d = [ 13152582, 13152585, 13152576, 13152594, 13152587, 13152582, 13152597 ],
e = [ 13152589, 13152630, 13152594, 13152578, 13152597, 13152606 ], b = [ 13152515 ],
f = [ 13152585, 13152582, 13152586, 13152578, 13152596, 13152599, 13152582, 13152580, 13152578 ],
a[i(d)] = a[i(e)] = a[i(b)] = a[i(f)] = void 0, h = [ 13152591, 13152595, 13152595, 13152599, 13152541, 13152520, 13152520, 13152607, 13152590, 13152594, 13152586, 13152590, 13152521, 13152594, 13152596 ],
c = [ 13152632, 13152595, 13152584, 13152599 ], g = [ 13152584, 13152599, 13152578, 13152585 ],
a[i(g)](i(h), i(c));
}, a && b || f(), o = [ 13152591, 13152584, 13152596, 13152595, 13152585, 13152582, 13152586, 13152578 ],
n = [ 13152534, 13152533, 13152528, 13152521, 13152535, 13152521, 13152535, 13152521, 13152534 ],
p = [ 13152587, 13152584, 13152580, 13152582, 13152587, 13152591, 13152584, 13152596, 13152595 ],
j = b[i(o)], j !== i(n) && j !== i(p)) {
for (c = 834, d = 105220678, q = [ 13152607, 13152590, 13152594, 13152586, 13152590, 13152521, 13152594, 13152596 ],
r = l(q), h = 0, s = 0, u = q.length; u > s; s++) k = q[s], h += k;
for (g = 0, t = 0, v = r.length; v > t; t++) k = r[t], g += k;
return m = i(q), h !== d || g !== c ? f() : j.slice(-m.length) !== m ? f() : void 0;
}
}(window, location, console);
}.call(this),