Tento skript by neměl být instalován přímo. Jedná se o knihovnu, kterou by měly jiné skripty využívat pomocí meta příkazu // @require https://update.greasyfork.org/scripts/471352/1226602/FP.js
// ==UserScript==
// @name FP
// @namespace http://tampermonkey/
// @version 0.1
// @description Example of using CryptoJS in Tampermonkey script
// @match https://jzt.jd.com/jdkc/*
// ==/UserScript==
function Jh(t, r) {
var n = {
yAyTJ: "3|14|12|5|" + c(64, 43, 43) + c(111, 97, 156) + c(80, 104, 30),
karkj: function(t, r, n) {
return t(r, n)
},
eLZga: function(t, r) {
return t - r
},
zuQio: function(t, r) {
return t(r)
},
AKNwz: function(t) {
return t()
},
egJdx: "0123456789",
XdmyX: function(t, r) {
return t > r
},
gPPzw: function(t, r) {
return t !== r
},
MqsjV: c(165, 149, 129),
XdRWC: c(124, 115, 169),
tfyKd: function(t, r) {
return t - r
},
VKlte: function(t, r) {
return t + r
},
ufvvu: function(t, r) {
return t + r
},
ttZWi: function(t, r) {
return t(r)
},
CwdLe: function(t, r) {
return t(r)
},
xQAqR: function(t, r) {
return t - r
},
TewCr: function(t, r) {
return t + r
},
QtmDC: function(t, r) {
return t * r
},
AgUtn: function(t, r) {
return t * r
}
}
, e = n[c(130, 193, 75)][c(171, 195, 214)]("|");
function o(t, r, n, e) {
return Vh(n - 259, t)
}
var i = 0;
function c(t, r, n, e) {
return Vh(t - -287, n)
}
for (; ; ) {
switch (e[i++]) {
case "0":
var u = n.karkj(Qh, l, 3);
continue;
case "1":
console.log(h)
return h;//直接返回fp
case "2":
return h;
case "3":
var f = {
iyCQG: function(t, r) {
return n[(1443,
1403,
c(135, 0, 1443))](t, r)
},
LHbrd: function(t, r) {
return n[(1121,
1141,
o(1121, 0, 709))](t, r)
}
};
continue;
case "4":
var s = n[c(77, 0, 14)](Yh);
continue;
case "5":
var l = n[o(725, 0, 718)];
continue;
case "6":
var p = n[o(640, 0, 630)](ty, l, u);
continue;
case "7":
var h = y[o(574, 0, 602)]("");
continue;
case "8":
var y = [];
continue;
case "9":
var v = g.split("");
continue;
case "10":
for (; n[c(127, 0, 155)](v.length, 0); )
n[o(580, 0, 605)](n[c(57, 0, 87)], n[o(659, 0, 620)]) ? y.push(n[o(584, 0, 643)](9, n[c(163, 0, 215)](parseInt, v[c(86, 0, 73)]()))) : _0x4513f9[c(105, 0, 170)](f[c(58, 0, 96)](9, f[c(85, 0, 114)](_0x297510, _0x5d7eb5[o(631, 0, 632)]())));
continue;
case "11":
var d = {};
d.size = s,
d[o(726, 0, 686)] = p;
var g = n[o(657, 0, 615)](n.ufvvu(n[o(628, 0, 677)](n[o(581, 0, 600)]($h, d), u), n[c(115, 0, 166)]($h, {
size: n[o(691, 0, 677)](n[c(71, 0, 118)](14, n[o(563, 0, 619)](s, 3)), 1),
num: p
})), s);
continue;
case "12":
var m = r;
continue;
case "13":
continue;
case "14":
var x = t;
continue
}
break
}
}
function Vh(t, r) {
var n = Zh();
return (Vh = function(r, e) {
var o = n[r -= 335];
if (void 0 === Vh.JPxPpA) {
var i = function(t) {
for (var r, n, e = "", o = "", i = 0, c = 0; n = t.charAt(c++); ~n && (r = i % 4 ? 64 * r + n : n,
i++ % 4) ? e += String.fromCharCode(255 & r >> (-2 * i & 6)) : 0)
n = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);
for (var u = 0, a = e.length; u < a; u++)
o += "%" + ("00" + e.charCodeAt(u).toString(16)).slice(-2);
return decodeURIComponent(o)
};
Vh.MXMfUo = i,
t = arguments,
Vh.JPxPpA = !0
}
var c = n[0]
, u = r + c
, a = t[u];
return a ? o = a : (o = Vh.MXMfUo(o),
t[u] = o),
o
}
)(t, r)
}
function Yh() {
var t = {};
function r(t, r, n, e) {
return Vh(n - 352, e)
}
t[r(0, 0, 783, 751)] = function(t, r) {
return t | r
}
,
t[e(-37, -57, 6)] = function(t, r) {
return t * r
}
;
var n = t;
function e(t, r, n, e) {
return Vh(n - -382, r)
}
return n[e(0, -4, 49)](n[e(0, 28, 6)](Math[r(0, 0, 785, 792)](), 10), 0)
}
function Zh() {
var t = ["z1bqENC", "qKffBNG", "vLftuM8", "Bxnbz2W", "uwrJt3m", "mhW0Fdz8mtf8oq", "sg5PvNi", "Bw1XD3O", "qwDvDg4", "mJK5mJa4rgnluxrf", "vKTSDgu", "y3HvueG", "EffbCvi", "CefVDgi", "vgv3q3i", "wgrsv0m", "EMz3wK8", "vu1QD3e", "quToD3O", "uwTruMS", "zLDcyuy", "mtn8mG", "q3bXDw4", "rNvTyKm", "mtq0nJLwteLjzMS", "A2fYA2O", "teHICMq", "Cg9W", "BxbAD3e", "vg1TCMu", "tu9iDe8", "mZi0ndrxDxPYzeu", "AKTJzwq", "DMfSDwu", "nZHPtuLtDge", "Cfzkv0G", "yNLgwfG", "wvPftue", "Dgz5s2q", "Fdb8mtj8n3W4Fa", "wKr0wwq", "CLzUtu8", "B0rOD04", "zK52BgS", "C0fJBwy", "zg9Uzq", "ChvZAa", "CNH4Au8", "v01MzLO", "A0jkvvK", "mty4otmWmfnoB3Lesq", "zfbtDei", "FdH8mtb8n3WXFa", "whryqwu", "yMzRwLO", "C2v0u3LUyW", "q3DKtgu", "zxHWAxjL", "BgvUz3rO", "Aw5KzxHpzG", "mdeYmZq1nJC4oq", "mtKWExnZD2vT", "BMXHDhy", "wLjdEwu", "whPUEfy", "rNDoDLK", "A2nstMS", "vNf2wva", "wgrTEvG", "A3DJDNq", "r2j6rvy", "Euf5veO", "Dwz2DNu", "mZe5otG2n3vcyujiyG", "mtbWy0DVBeq", "mtb8mNW1Fdn8na", "zuXAz2e", "sg9uswu", "v2fbD2C", "m3WWFdj8nhWX", "DK5yCKu", "BNvT", "wuP4rwm", "q0PzwuO", "EwfsEee", "s1jtzKi", "uxjIy00", "CMfUzg9T", "CMvWBgfJzq", "s0XAAgS", "DwTquui", "CwHcsLi", "mtC1mZqZBKDju1Ld", "y3rjwwe", "tenAA3m", "mtHeD01dBu8", "q3juuMe", "C2L6zq", "s1voAeq", "r051Be4", "FdL8mxWXm3WXmq", "mJrRDg9XDMC", "te12zxe", "rNjpuKS", "ENvrAw8", "ChPyBMC", "rwP3t0W", "uxrTrem", "y2jNEwK", "vMHXteK", "mJa0nZmXmMX0r3j5DW", "vgDRv0q", "C3bSAxq", "zwDkzhG", "sePyEum", "BfDUu2m", "BKLzzfi", "u2zYC3a", "mNW0Fdb8m3WX", "v0XHvwy", "u0ncEwq", "v0vHCLi", "qxvWz2K", "zNngBK0", "CLjkDeq", "DhrAv2K", "BMfbAhe", "AM9PBG", "txfZALy", "AxLduuC"];
return (Zh = function() {
return t
}
)()
}
function Qh(t, r) {
var n, e = {
ukPQB: E(-30, 24, -24),
GNulN: function(t, r) {
return t | r
},
UMjwq: function(t, r) {
return t * r
},
VtnNJ: E(-73, -62, -66) + O(789, 734) + O(620, 673) + "6",
ZDtYd: function(t, r) {
return t > r
},
lWnSc: function(t, r) {
return t - r
},
qhBJR: function(t, r) {
return t(r)
},
fsFnM: function(t, r) {
return t + r
},
HJXyC: function(t, r) {
return t + r
},
HoTIe: function(t, r) {
return t(r)
},
CJYYJ: function(t, r) {
return t + r
},
TgkWD: function(t, r) {
return t + r
},
kcRNk: function(t, r, n) {
return t(r, n)
},
PATHY: function(t) {
return t()
},
ZRCye: O(751, 694),
oyuan: function(t, r) {
return t * r
},
WLaUf: function(t, r, n) {
return t(r, n)
},
VhqLI: function(t, r) {
return t < r
},
hjJKJ: function(t, r) {
return t !== r
},
jKced: function(t, r) {
return t !== r
},
Tmmre: function(t, r) {
return t * r
},
byFXX: E(-132, -69, -184),
XtXAe: function(t, r) {
return t === r
},
kBJUY: E(-101, -85, -78),
CrTRa: E(-128, -95, -187),
rVnMO: function(t, r) {
return t < r
},
vNXrE: function(t, r) {
return t * r
},
cxUPH: function(t, r) {
return t === r
},
HniVr: "UBWuB",
pzXng: O(574, 628),
MOHtO: function(t, r) {
return t == r
},
LMveq: function(t, r) {
return t !== r
},
yaRxA: E(-111, -123, -101),
SCByd: O(680, 641),
FumbC: "ySHgX",
KLZhk: "nZiJB",
WaAwg: function(t, r) {
return t !== r
},
nIYdR: E(-81, -18, -54),
dPStB: E(-104, -61, -82),
WEarR: function(t, r) {
return t * r
},
GbzEV: function(t, r) {
return t - r
},
WMffZ: function(t, r) {
return t - r
},
nlatv: function(t, r) {
return t - r
}
}, o = [], i = t.length, c = e.HoTIe(Yo, t);
try {
if (e.jKced(e[O(633, 670, 716, 665)], e[E(-112, -128, -109, -116)]))
_0x1be59f.f();
else
for (c.s(); !(n = c.n())[O(711, 679, 714, 684)]; )
if (e[O(636, 687, 675, 622)](e[O(745, 683, 718, 673)], e[O(741, 730, 745, 753)]))
_0x34e33c.e(_0x1fea28);
else {
var u = n[E(-115, -165, -155, -165)];
if (e[O(666, 675, 646, 631)](e[E(-68, -129, -52, -78)](Math.random(), i), r))
if (e[O(688, 645, 632, 666)](e[E(-142, -101, -141, -142)], e[O(707, 739, 742, 803)]))
for (var a = e[O(735, 724, 681, 696)][E(-36, -20, -75, -16)]("|"), f = 0; ; ) {
switch (a[f++]) {
case "0":
var s = "";
continue;
case "1":
return s;
case "2":
var l = _0x461a6d[O(699, 731, 781, 738)]
, p = _0x16a505[O(656, 715, 736, 687)];
continue;
case "3":
for (; l--; )
s += h[e.GNulN(e[E(-131, -166, -150, -188)](_0x15da3e[E(-61, -60, -49, -60)](), h[E(-90, -35, -44, -128)]), 0)];
continue;
case "4":
var h = p;
continue
}
break
}
else if (o.push(u),
e[E(-118, -169, -183, -71)](--r, 0)) {
if (!e.LMveq(e[O(739, 718, 763, 746)], e[O(689, 718, 742, 749)]))
break;
for (var y = e.VtnNJ[O(756, 746, 784, 695)]("|"), v = 0; ; ) {
switch (y[v++]) {
case "0":
for (; e[O(721, 674, 688, 619)](j[O(631, 692, 750, 751)], 0); )
B[O(678, 680, 639, 690)](e[E(-33, -34, -85, -61)](9, e[O(771, 725, 753, 720)](_0x15874d, j[O(602, 661, 704, 700)]())));
continue;
case "1":
var d = {};
d[O(742, 731, 785, 761)] = b,
d[O(667, 715, 752, 679)] = S;
var g = e[E(-155, -163, -164, -96)](e[E(-155, -139, -107, -204)](e[O(751, 748, 735, 765)](e.qhBJR(_0x414321, d), x), e[O(697, 711, 703, 663)](_0x5cec85, {
size: e[O(780, 717, 702, 728)](e[E(-33, 8, -66, -46)](14, e[E(-37, 19, -99, -81)](b, 3)), 1),
num: S
})), b);
continue;
case "2":
var m = _0x1c5743;
continue;
case "3":
var x = e[O(716, 700, 716, 748)](_0x372e27, _, 3);
continue;
case "4":
var b = e.PATHY(_0x1d8042);
continue;
case "5":
var _ = e[E(-85, -88, -147, -47)];
continue;
case "6":
return C;
case "7":
var w = {};
w[E(-91, -44, -127, -132)] = 0,
_0x3dd201.setSync(m, "", w);
continue;
case "8":
_0x1258d6[E(-93, -158, -101, -76)](A, C, {
expire: e[O(587, 651, 637, 715)](e.oyuan(3600, 24), 365)
});
continue;
case "9":
var S = e[E(-159, -103, -111, -213)](_0x2c3850, _, x);
continue;
case "10":
var A = _0x598bdb;
continue;
case "11":
var B = [];
continue;
case "12":
var C = B[O(655, 631, 672, 662)]("");
continue;
case "13":
var j = g[O(764, 746, 765, 791)]("");
continue
}
break
}
}
i--
}
} catch (t) {
if (e.cxUPH(e[O(687, 624)], e[E(-125, -179, -118)])) {
for (var k = 0; e[O(718, 743)](k, _0x106fc0[O(675, 692)]); k++) {
var D = _0x5d441f[E(-89, -154, -110)](_0x494c17[k]);
e.hjJKJ(D, -1) && (_0x1e465e = _0x11186d[O(663, 722)](_0xd67799[k], ""))
}
return _0x1656e4
}
c.e(t)
} finally {
if (e[E(-46, -59, -24)](e[E(-59, -76, -69)], e[O(685, 723)])) {
var z = _0x4fbffd[O(664, 693)](_0x4c0229[_0x38f72a]);
e[O(610, 666)](z, -1) && (_0x2568cc = _0x380293.replace(_0x11f1b1[_0xede3de], ""))
} else
c.f()
}
function E(t, r, n, e) {
return Vh(t - -494, n)
}
function O(t, r, n, e) {
return Vh(r - 288, t)
}
for (var L = "", P = 0; e[E(-107, 0, -114)](P, o.length); P++)
if (e[E(-70, 0, -84)](e[O(796, 750)], e[E(-97, 0, -138)])) {
var M = e[E(-49, 0, -22)](e[E(-157, 0, -214)](Math[O(729, 721)](), e[O(737, 704)](o.length, P)), 0);
L += o[M],
o[M] = o[e[O(735, 682)](e[E(-86, 0, -134)](o.length, P), 1)]
} else
_0x33a7c8 += _0x2e3a87[e[E(-49, 0, -29)](e[E(-119, 0, -77)](_0x4eaaa5[E(-61, 0, -32)](), _0x463dde[E(-90, 0, -112)]), 0)];
return L
}
function $h(t) {
var r = {};
function n(t, r, n, e) {
return Vh(t - 183, n)
}
function e(t, r, n, e) {
return Vh(n - 42, t)
}
r[e(398, 0, 390)] = e(442, 0, 467),
r[n(611, 0, 594)] = function(t, r) {
return t === r
}
,
r[e(327, 0, 384)] = n(564, 0, 601),
r.cbgyi = "iejlT",
r[n(542, 0, 551)] = function(t, r) {
return t | r
}
,
r[e(326, 0, 389)] = function(t, r) {
return t * r
}
;
for (var o = r, i = o[n(531, 0, 543)].split("|"), c = 0; ; ) {
switch (i[c++]) {
case "0":
var u = s;
continue;
case "1":
return a;
case "2":
var a = "";
continue;
case "3":
var f = t[e(424, 0, 485)]
, s = t[e(417, 0, 469)];
continue;
case "4":
for (; f--; )
o[n(611, 0, 567)](o[n(525, 0, 531)], o[e(522, 0, 496)]) ? _0x5ed2a3 = _0x379108[n(617, 0, 682)](_0x44c007[_0x11fa1f], "") : a += u[o[n(542, 0, 523)](o[n(530, 0, 466)](Math[n(616, 0, 671)](), u[e(474, 0, 446)]), 0)];
continue
}
break
}
}
function ty(t, r) {
var n = {};
function e(t, r, n, e) {
return Vh(t - 698, r)
}
function o(t, r, n, e) {
return Vh(r - 304, t)
}
n[e(1113, 1149)] = function(t, r) {
return t | r
}
,
n[e(1048, 1087)] = function(t, r) {
return t * r
}
,
n[e(1137, 1158)] = function(t, r) {
return t - r
}
,
n[e(1087, 1087)] = function(t, r) {
return t - r
}
,
n[o(695, 678)] = function(t, r) {
return t - r
}
,
n[e(1063, 1011)] = function(t, r) {
return t | r
}
,
n.Sfrsp = function(t, r) {
return t * r
}
,
n[o(749, 736)] = function(t, r) {
return t < r
}
,
n[o(737, 672)] = function(t, r) {
return t === r
}
,
n[o(642, 704)] = "gYLQJ",
n[o(695, 748)] = function(t, r) {
return t !== r
}
,
n[e(1036, 1086)] = function(t, r) {
return t !== r
}
,
n[o(747, 753)] = o(698, 714),
n[o(732, 744)] = o(691, 653);
for (var i = n, c = 0; i.QrbcM(c, r[e(1102, 1063)]); c++) {
if (!i[o(688, 672)](i[o(730, 704)], i[o(709, 704)]))
return i.QkQRk(i[o(800, 767)](_0x2a5987.random(), 10), 0);
var u = t[e(1103, 1060)](r[c]);
if (i[e(1142, 1103)](u, -1))
if (i[o(657, 642)](i[o(810, 753)], i[o(786, 744)]))
t = t[e(1132, 1097)](r[c], "");
else {
var a = i[e(1113, 1131)](i[o(679, 654)](_0x321511[e(1131, 1068)](), i[e(1137, 1134)](_0x3fcc22.length, _0x55976a)), 0);
_0x3f2067 += _0x3cd9c8[a],
_0x3c9f08[a] = _0x54e4b0[i[o(736, 693)](i[e(1072, 1121)](_0x2a34b5[e(1102, 1139)], _0x3aa2ae), 1)]
}
}
return t
}
!function(t, r) {
var n = Zh();
function e(t, r, n, e) {
return Vh(n - 378, r)
}
function o(t, r, n, e) {
return Vh(t - 127, n)
}
for (; ; )
try {
if (186084 == parseInt(e(0, 689, 748)) / 1 * (parseInt(e(0, 837, 819)) / 2) + -parseInt(e(0, 782, 733)) / 3 + -parseInt(o(504, 0, 532)) / 4 * (parseInt(e(0, 828, 785)) / 5) + parseInt(o(507, 0, 560)) / 6 * (parseInt(o(565, 0, 548)) / 7) + -parseInt(e(0, 771, 834)) / 8 + parseInt(o(523, 0, 478)) / 9 * (-parseInt(o(547, 0, 577)) / 10) + -parseInt(o(546, 0, 544)) / 11 * (-parseInt(e(0, 856, 825)) / 12))
break;
n.push(n.shift())
} catch (t) {
n.push(n.shift())
}
}();
function Vo(t, r) {
(null == r || r > t.length) && (r = t.length);
for (var n = 0, e = new Array(r); n < r; n++)
e[n] = t[n];
return e
}
function Yo(t, r) {
var n;
if ("undefined" == typeof Symbol || null == t[Symbol.iterator]) {
if (Array.isArray(t) || (n = function(t, r) {
if (t) {
if ("string" == typeof t)
return Vo(t, r);
var n = Object.prototype.toString.call(t).slice(8, -1);
return "Object" === n && t.constructor && (n = t.constructor.name),
"Map" === n || "Set" === n ? Array.from(t) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Vo(t, r) : void 0
}
}(t)) || r && t && "number" == typeof t.length) {
n && (t = n);
var e = 0
, o = function() {};
return {
s: o,
n: function() {
return e >= t.length ? {
done: !0
} : {
done: !1,
value: t[e++]
}
},
e: function(t) {
throw t
},
f: o
}
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
}
var i, c = !0, u = !1;
return {
s: function() {
n = t[Symbol.iterator]()
},
n: function() {
var t = n.next();
return c = t.done,
t
},
e: function(t) {
u = !0,
i = t
},
f: function() {
try {
c || null == n.return || n.return()
} finally {
if (u)
throw i
}
}
}
}