gepettobrowser
Version:
Puppeteer-real-browser inspired fork of puppeteer
1 lines • 2.85 kB
JavaScript
function a42_0x46a4(){const _0x237f9f=['createElement','length','captcha-widgets','reset','799848LysIkd','28tVidBh','1367310PvGJqL','5432080OMTMLm','.captcha-solver[data-captcha-type=\x27','captcha-widget','widgetId','213594qKfFpI','9vBVLiw','isCaptchaWidgetRegistered','children','getCaptchaWidgetButton','213242OaANQa','head\x20>\x20captcha-widgets','resetCaptchaWidget','dataset','27FaqOEz','captchaType','querySelector','15252cPqJnH','appendChild','head','249225XuDkeu'];a42_0x46a4=function(){return _0x237f9f;};return a42_0x46a4();}(function(_0x4b8845,_0x403fe3){const _0x5a24ba=a42_0x2d25,_0x210909=_0x4b8845();while(!![]){try{const _0x57c613=parseInt(_0x5a24ba(0x131))/0x1+-parseInt(_0x5a24ba(0x127))/0x2+-parseInt(_0x5a24ba(0x12b))/0x3*(-parseInt(_0x5a24ba(0x12e))/0x4)+parseInt(_0x5a24ba(0x138))/0x5+parseInt(_0x5a24ba(0x122))/0x6*(parseInt(_0x5a24ba(0x137))/0x7)+parseInt(_0x5a24ba(0x136))/0x8+-parseInt(_0x5a24ba(0x123))/0x9*(parseInt(_0x5a24ba(0x139))/0xa);if(_0x57c613===_0x403fe3)break;else _0x210909['push'](_0x210909['shift']());}catch(_0x25517a){_0x210909['push'](_0x210909['shift']());}}}(a42_0x46a4,0x24830));function a42_0x2d25(_0x600db1,_0x43edf4){const _0x46a442=a42_0x46a4();return a42_0x2d25=function(_0x2d25eb,_0x385521){_0x2d25eb=_0x2d25eb-0x120;let _0x5850dc=_0x46a442[_0x2d25eb];return _0x5850dc;},a42_0x2d25(_0x600db1,_0x43edf4);}let initCoreHelpers=function(){const _0xbde00=a42_0x2d25;let _0x5674af=document[_0xbde00(0x12d)](_0xbde00(0x128));!_0x5674af&&(_0x5674af=document[_0xbde00(0x132)](_0xbde00(0x134)),document[_0xbde00(0x130)][_0xbde00(0x12f)](_0x5674af)),window['registerCaptchaWidget']=function(_0x4ca6bc){const _0x4cafb2=_0xbde00;let _0x478b67=document[_0x4cafb2(0x132)](_0x4cafb2(0x120));for(let _0x5d732f in _0x4ca6bc){_0x478b67[_0x4cafb2(0x12a)][_0x5d732f]=_0x4ca6bc[_0x5d732f];}_0x5674af[_0x4cafb2(0x12f)](_0x478b67);},window[_0xbde00(0x124)]=function(_0x5ee854,_0x57d8e6){const _0x4365bb=_0xbde00;let _0x2d84f3=_0x5674af['children'];for(let _0x58ff1a=0x0;_0x58ff1a<_0x2d84f3[_0x4365bb(0x133)];_0x58ff1a++){if(_0x2d84f3[_0x58ff1a][_0x4365bb(0x12a)]['captchaType']!==_0x5ee854)continue;if(_0x2d84f3[_0x58ff1a][_0x4365bb(0x12a)][_0x4365bb(0x121)]!==_0x57d8e6+'')continue;return!![];}return![];},window[_0xbde00(0x129)]=function(_0x2abe81,_0x1fd917){const _0x3d797c=_0xbde00;let _0x2e5e6f=_0x5674af[_0x3d797c(0x125)];for(let _0x2c75a0=0x0;_0x2c75a0<_0x2e5e6f[_0x3d797c(0x133)];_0x2c75a0++){let _0x3e7d8f=_0x2e5e6f[_0x2c75a0][_0x3d797c(0x12a)];if(_0x3e7d8f[_0x3d797c(0x12c)]!=_0x2abe81)continue;if(_0x3e7d8f[_0x3d797c(0x121)]!=_0x1fd917)continue;_0x3e7d8f[_0x3d797c(0x135)]=!![];break;}},window[_0xbde00(0x126)]=function(_0xe6b14,_0x2f4bac){const _0x44c69c=_0xbde00;return document[_0x44c69c(0x12d)](_0x44c69c(0x13a)+_0xe6b14+'\x27][data-widget-id=\x27'+_0x2f4bac+'\x27]');};};setTimeout(initCoreHelpers,0xc8);