此网站中的此类javascript是什么http://e-pnrstatus.com/ 看起来如下
var _0xc3e1 = ["\x73\x68\x6F\x77", "\x74\x6F\x67\x67\x6C\x65", "\x63\x6C\x61\x73\x73\x4C\x69\x73\x74", "\x6D\x79\x44\x72\x6F\x70\x64\x6F\x77\x6E", "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64", "\x6F\x6E\x63\x6C\x69\x63\x6B", "\x2E\x64\x72\x6F\x70\x62\x74\x6E", "\x6D\x61\x74\x63\x68\x65\x73", "\x74\x61\x72\x67\x65\x74", "\x64\x72\x6F\x70\x64\x6F\x77\x6E\x2D\x63\x6F\x6E\x74\x65\x6E\x74", "\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65", "\x6C\x65\x6E\x67\x74\x68", "\x63\x6F\x6E\x74\x61\x69\x6E\x73", "\x72\x65\x6D\x6F\x76\x65"];
function myFunction() {
document[_0xc3e1[4]](_0xc3e1[3])[_0xc3e1[2]][_0xc3e1[1]](_0xc3e1[0])
}
window[_0xc3e1[5]] = function(_0xd9a9x2) {
if (!_0xd9a9x2[_0xc3e1[8]][_0xc3e1[7]](_0xc3e1[6])) {
var _0xd9a9x3 = document[_0xc3e1[10]](_0xc3e1[9]);
var _0xd9a9x4;
for (_0xd9a9x4 = 0; _0xd9a9x4 < _0xd9a9x3[_0xc3e1[11]]; _0xd9a9x4++) {
var _0xd9a9x5 = _0xd9a9x3[_0xd9a9x4];
if (_0xd9a9x5[_0xc3e1[2]][_0xc3e1[12]](_0xc3e1[0])) {
_0xd9a9x5[_0xc3e1[2]][_0xc3e1[13]](_0xc3e1[0])
}
}
}
}
答案 0 :(得分:1)
它是obfuscated code。开发人员使用它试图阻止他人阅读和理解他们的代码,因为JavaScript总是以未编译的形式可读,因此这是保持算法私密并仍然使用它们的最佳方法。