var window =captcha= {}; var eval_s=function (str) { str = str.replace(/setTimeout(.?;/, ''); str = str.replace(/.?=function/, '(function'); str = str.replace(/+';./, ')})();'); str = str.replace('document.cookie=', 'console.log('); eval(str); };var x="captcha@RegExp@DOMContentLoaded@pathname@JgSe0upZ@join@@@@@0xEDB88320@@1538052830@if@@reverse@@@g@50@@d@@split@@@Thu@@@@__jsl_clearance@onreadystatechange@Path@@@@@callP@catch@@chars@a@firstChild@rOm9XFMtA3QKV7nYsPGT4lifyWwkq5vcjH2IdxUoCbhERLaz81DNB6@27@@addEventListener@@false@document@0xFF@@@@for@attachEvent@try@search@@match@@1@@window@div@13@return@@@String@cookie@charAt@@setTimeout@@@innerHTML@@@challenge@var@0@@charCodeAt@@eval@f@Array@hantom@@758@replace@toString@8@href@Sep@53@toLowerCase@fromCharCode@6@function@while@18@@@GMT@@@1500@parseInt@https@@location@@else@length@@substr@36@createElement@@@@@new@Expires@@e".replace(/@$/,"").split("@"),y="81 21=101(){74('113.95=113.4+113.58.92(/[\?|&]1-80/,\'\')',109);50.71='31=13.91|82|'+(101(){81 15=[101(21){67 86('70.99('+21+')')},101(21){55(81 15=82;15<21.116;15++){21[15]=110(21[15]).93(119)};67 21.6('')}],21=[[[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+[-~[(+!{})+(+!{})]]],[((+!{})+(+!{})+[[]][82])+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[]),[(+!{})]+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[]),[-~[(+!{})+(+!{})]]+((+!{})+(+!{})+[[]][82])],[[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+((+!{})+(+!{})+[[]][82]),[(-~(+!{}))[-~(+!{})]]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]],[((+!{})+(+!{})+[[]][82])+[(-~(+!{}))[-~(+!{})]]],[[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+[(+!{})],[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]],[((+!{})+(+!{})+[[]][82])+[100]],[[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))]+[-~[(+!{})+(+!{})]],[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+([]+[]+[]),[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[])],[[(+!{})]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]],[[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[]),[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})],((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])+[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))],((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])+((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])],[[(+!{})]+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[])],[[100]+[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))],((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])+([]+[]+[]),[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))]+[-~[(+!{})+(+!{})]],[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]+((+!{})+(+!{})+(-~!!64['38'+'89']+[-~(((+!{})+[((+!{})<<(+!{}))]>>((+!{})<<(+!{}))))]>>-~!!64['38'+'89'])+[]+[]),[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})],((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])+[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))]],[((+!{})+(+!{})+[[]][82])+((+!{})+(+!{})+[[]][82])],[[(-~(+!{}))[-~(+!{})]](21[73])};67 21.6('')})()+';126=27, 45-96-103 66:97:20 106;33=/;'};14((101(){57{67 !!64.47;}39(128){67 49;}})()){50.47('3',21,49)}115{50.56('32',21)}",f=function(x,y){var a=0,b=0,c=0;x=x.split("");y=y||99;while((a=x.shift())&&(b=a.charCodeAt(0)-77.5))c=(Math.abs(b)<13?(b+48.5):parseInt(a,36))+yc;return c},z=f(y.match(/w/g).sort(function(x,y){return f(x)-f(y)}).pop());while(z++)try{eval_s(y.replace(/bw+b/g, function(y){return x[f(y,z)-1]||("_"+y)}));break}catch(_){}{})]]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})],[-~[(+!{})+(+!{})]]+[(-~[]|((+!{})<<(+!{})))-~!/!/+(-~[]|((+!{})<<(+!{})))],((+!{})+(((+!{})<<(+!{}))<<(+!{}))+[[]][82])+[(+!{})],[100]+[-~(+!{})-~(+!{})-~(+!{})-~(+!{})]]];55(81 73=82;73<21.116;73++){21[73]=15.16()[[(+!
jsdom了解一下。 https://github.com/jsdom/jsdom
不过我现在都用jest,jest内置对这些的支持