mirror of
https://github.com/smallfawn/decode_action.git
synced 2025-12-20 00:35:19 +08:00
2 lines
4.2 KiB
JavaScript
2 lines
4.2 KiB
JavaScript
function _0x3ac1(_0x3ee4e6,_0x3a9cdf){const _0x3febc1=_0x3feb();return _0x3ac1=function(_0x3ac17a,_0x43778f){_0x3ac17a=_0x3ac17a-0x64;let _0x9e804c=_0x3febc1[_0x3ac17a];return _0x9e804c;},_0x3ac1(_0x3ee4e6,_0x3a9cdf);}const _0x399bf4=_0x3ac1;(function(_0x4a5874,_0x4ee452){const _0x3e8201=_0x3ac1,_0x112ca6=_0x4a5874();while(!![]){try{const _0xdd11b4=parseInt(_0x3e8201(0x7d))/0x1*(parseInt(_0x3e8201(0x7c))/0x2)+parseInt(_0x3e8201(0x88))/0x3*(-parseInt(_0x3e8201(0x6d))/0x4)+-parseInt(_0x3e8201(0x7f))/0x5+-parseInt(_0x3e8201(0x71))/0x6*(-parseInt(_0x3e8201(0x66))/0x7)+parseInt(_0x3e8201(0x7a))/0x8+-parseInt(_0x3e8201(0x6b))/0x9+parseInt(_0x3e8201(0x93))/0xa*(parseInt(_0x3e8201(0x72))/0xb);if(_0xdd11b4===_0x4ee452)break;else _0x112ca6['push'](_0x112ca6['shift']());}catch(_0x42f0c9){_0x112ca6['push'](_0x112ca6['shift']());}}}(_0x3feb,0x49a24),chrome['runtime'][_0x399bf4(0x70)]['addListener']((_0xd9b0d,_0x285acc,_0x1b752e)=>{const _0x41d310=_0x399bf4,_0x11fb77={'zFcqc':function(_0x4d698b,_0x5dc160){return _0x4d698b===_0x5dc160;},'dcFlb':_0x41d310(0x6c),'MklRp':'DEBUG','RTuHE':_0x41d310(0x92),'YwoLO':_0x41d310(0x96)};_0x11fb77[_0x41d310(0x8b)](_0x41d310(0x6c),_0xd9b0d[_0x41d310(0x67)])&&(console[_0x41d310(0x81)](_0x11fb77[_0x41d310(0x7e)],_0xd9b0d[_0x41d310(0x6e)]),chrome[_0x41d310(0x91)][_0x41d310(0x87)](_0x285acc[_0x41d310(0x97)]['id'],{'title':_0xd9b0d[_0x41d310(0x6e)]})),_0x11fb77[_0x41d310(0x8b)](_0x11fb77[_0x41d310(0x6a)],_0xd9b0d[_0x41d310(0x67)])&&console['log'](_0xd9b0d['message']),_0x11fb77[_0x41d310(0x8b)](_0x11fb77[_0x41d310(0x6f)],_0xd9b0d[_0x41d310(0x67)])&&(_0x285acc=_0x11fb77[_0x41d310(0x86)]+Date[_0x41d310(0x7b)](),chrome[_0x41d310(0x90)][_0x41d310(0x74)](_0x285acc,_0xd9b0d[_0x41d310(0x8e)]));}));function _0x3feb(){const _0x2b7d93=['NqVUd','zFcqc','windows','error','notification','https://channels.weixin.qq.com/*','notifications','tabs','SHOW_NOTIFICATION','959080cxHjNt','TzMYo','checkUpdate','notification_','tab','releaseNotes','set','rGEoM','7YWitOs','type','onInstalled','DXHnt','MklRp','2106108XrnDWr','UPDATE_TAB_TITLE','1109984zihovw','title','RTuHE','onMessage','3150228KzFzKA','110JDGSrj','alarms','create','version','onClicked','onAlarm','storage','windowId','380016OirEXF','now','2778plPrRy','82yyZPUT','dcFlb','2774550sOyrox','getManifest','log','json','jKfaP','runtime','addListener','YwoLO','update','6wURscS','qPMGK'];_0x3feb=function(){return _0x2b7d93;};return _0x3feb();}let VERSION_CHECK_INTERVAL=0x3c,VERSION_CHECK_URL='https://www.073955.com/helper/main/version.json';async function checkUpdate(){const _0x4d2700=_0x399bf4,_0x2b38b6={'rGEoM':function(_0x3d2bda,_0x517b56){return _0x3d2bda(_0x517b56);},'jKfaP':function(_0x2c1160,_0xa9225a){return _0x2c1160>_0xa9225a;},'eBOhP':'Update\x20check\x20failed:'};try{var _0xf7f636=await(await _0x2b38b6[_0x4d2700(0x65)](fetch,VERSION_CHECK_URL))[_0x4d2700(0x82)](),_0x114d3a=chrome[_0x4d2700(0x84)][_0x4d2700(0x80)]()[_0x4d2700(0x75)];_0x2b38b6[_0x4d2700(0x83)](_0xf7f636['version'],_0x114d3a)&&chrome[_0x4d2700(0x78)]['local'][_0x4d2700(0x64)]({'updateAvailable':!0x0,'newVersion':_0xf7f636[_0x4d2700(0x75)],'updateUrl':_0xf7f636['downloadUrl'],'releaseNotes':_0xf7f636[_0x4d2700(0x98)]});}catch(_0x22a224){console[_0x4d2700(0x8d)](_0x2b38b6['eBOhP'],_0x22a224);}}chrome[_0x399bf4(0x84)][_0x399bf4(0x68)][_0x399bf4(0x85)](()=>{const _0x2e8027=_0x399bf4,_0x1496df={'TzMYo':_0x2e8027(0x95)};chrome[_0x2e8027(0x73)][_0x2e8027(0x74)](_0x1496df[_0x2e8027(0x94)],{'periodInMinutes':VERSION_CHECK_INTERVAL});}),chrome[_0x399bf4(0x73)][_0x399bf4(0x77)][_0x399bf4(0x85)](_0x2643e3=>{const _0x529833=_0x399bf4,_0x65b326={'DXHnt':'checkUpdate'};_0x65b326[_0x529833(0x69)]===_0x2643e3['name']&&checkUpdate();}),chrome[_0x399bf4(0x90)][_0x399bf4(0x76)][_0x399bf4(0x85)](_0xa1f04a=>{const _0x205850=_0x399bf4,_0xe95b9f={'qPMGK':function(_0x1957dd,_0x2744a3){return _0x1957dd<_0x2744a3;},'NqVUd':_0x205850(0x8f)};chrome[_0x205850(0x91)]['query']({'url':_0xe95b9f[_0x205850(0x8a)]},_0x532cf4=>{const _0x349f4e=_0x205850;_0xe95b9f[_0x349f4e(0x89)](0x0,_0x532cf4['length'])&&(chrome[_0x349f4e(0x91)]['update'](_0x532cf4[0x0]['id'],{'active':!0x0}),chrome[_0x349f4e(0x8c)][_0x349f4e(0x87)](_0x532cf4[0x0][_0x349f4e(0x79)],{'focused':!0x0}));}),chrome[_0x205850(0x90)]['clear'](_0xa1f04a);});
|