广西普法云平台V1.0
// ==UserScript==
// @name 广西普法云平台V1.0
// @namespace https://wqzai.cn
// @version 1.0.0
// @description 广西普法云平台,题库,答题!联系微信:wqzai-cn获取定制脚本,微信公众号与小程序:“气测通”已可搜题。
// @icon https://exam.gxpf.cn/content/images/favicon.ico
// @author wqzai
// @match https://exam.gxpf.cn/exam-ing-new.html*
// @match https://exam.gxpf.cn/exam-new.html*
// @match https://exam.gxpf.cn/grade.html*
// @grant GM_xmlhttpRequest
// ==/UserScript==
function _0x1678(){var _0x3618de=['timeing','1232490MCpZji','https://api.wqzai.cn/script/answer?qid=','subjectName','getElementById','length','_blank','answer-items\x20mydefitems','attributes','3124885phITRJ','parse','4gpYZpJ','2690460DMVrPe','href','814152Wenvah','click','https://exam.gxpf.cn/exam-new.html','code','data','2508aa2e-c09d-4474-8aba-42a199d987e1','getElementsByClassName','8XNqVcy','nowSubjectType','getAttribute','774950BCHgaL','includes','&secret=24959bae-035d-479d-a3dd-8a4c7d700446','btnConfirm','value','https://exam.gxpf.cn/grade-print-new.html?examId=self_170&examStartDateTime=2024%25E5%25B9%25B410%25E6%259C%258824%25E6%2597%25A5&score=100&examEndDateTime=2025%25E5%25B9%25B401%25E6%259C%258831%25E6%2597%25A5&examName=2024%25E5%25B9%25B4%25E5%25BA%25A6%25E5%2585%25A8%25E5%258C%25BA%25E5%259B%25BD%25E5%25AE%25B6%25E5%25B7%25A5%25E4%25BD%259C%25E4%25BA%25BA%25E5%2591%2598%25E5%25AD%25A6%25E6%25B3%2595%25E7%2594%25A8%25E6%25B3%2595%25E8%2580%2583%25E8%25AF%2595&examYear=2024','954054QeIUDV','7vZHZxO','observe','onload','nodeValue','300413pmNiee','nowSubjectId'];_0x1678=function(){return _0x3618de;};return _0x1678();}function _0x1578(_0x1810f3,_0xe4155b){var _0x1678bd=_0x1678();return _0x1578=function(_0x157897,_0x3c7727){_0x157897=_0x157897-0x122;var _0x861dc0=_0x1678bd[_0x157897];return _0x861dc0;},_0x1578(_0x1810f3,_0xe4155b);}(function(_0x2d3ece,_0x51be90){var _0x3af1d8=_0x1578,_0x31701c=_0x2d3ece();while(!![]){try{var _0xda314=-parseInt(_0x3af1d8(0x144))/0x1+parseInt(_0x3af1d8(0x12c))/0x2*(parseInt(_0x3af1d8(0x122))/0x3)+-parseInt(_0x3af1d8(0x12d))/0x4+parseInt(_0x3af1d8(0x12a))/0x5+-parseInt(_0x3af1d8(0x12f))/0x6*(-parseInt(_0x3af1d8(0x140))/0x7)+parseInt(_0x3af1d8(0x136))/0x8*(-parseInt(_0x3af1d8(0x13f))/0x9)+-parseInt(_0x3af1d8(0x139))/0xa;if(_0xda314===_0x51be90)break;else _0x31701c['push'](_0x31701c['shift']());}catch(_0x499425){_0x31701c['push'](_0x31701c['shift']());}}}(_0x1678,0x67f48),(function(){var _0x505b39=_0x1578;window[_0x505b39(0x142)]=function(){var _0x52a430=_0x505b39;location[_0x52a430(0x12e)]['includes'](_0x52a430(0x131))&&(document[_0x52a430(0x135)](_0x52a430(0x146))[0x0][_0x52a430(0x130)](),document['getElementsByClassName']('layui-layer-btn0')[0x0][_0x52a430(0x130)]()),location[_0x52a430(0x12e)]['includes']('https://exam.gxpf.cn/grade.html')&&window['open'](_0x52a430(0x13e),_0x52a430(0x127)),_0x2d0e33(_0x229304),_0xa29d7b();};function _0x2d0e33(_0x5e6e27){setTimeout(function(){_0x5e6e27();},0xc8);}function _0x1fb24e(){_0x2d0e33(_0x229304);}function _0xa29d7b(){var _0x49c0d1=_0x505b39,_0x27ed6f=new MutationObserver(_0x1fb24e),_0x33a26f=document[_0x49c0d1(0x125)](_0x49c0d1(0x124)),_0x115cb7={'childList':!![],'attributes':!![]};_0x27ed6f[_0x49c0d1(0x141)](_0x33a26f,_0x115cb7);}function _0x229304(){var _0x42c0e6=_0x505b39,_0x937637=document[_0x42c0e6(0x125)](_0x42c0e6(0x145))[_0x42c0e6(0x138)]('value'),_0x354ec3=Number(document['getElementById'](_0x42c0e6(0x137))[_0x42c0e6(0x138)](_0x42c0e6(0x13d)));GM_xmlhttpRequest({'url':_0x42c0e6(0x123)+_0x937637+_0x42c0e6(0x13b),'onload'(_0x50f5b4){var _0x3e4152=_0x42c0e6;let _0xc99473=JSON[_0x3e4152(0x12b)](_0x50f5b4['response']);if(_0xc99473[_0x3e4152(0x132)]!=0x0)alert(_0x3e4152(0x134),_0xc99473[_0x3e4152(0x133)]);else{let _0x52bce9=_0xc99473[_0x3e4152(0x133)]['id'];if(_0x52bce9!='')switch(_0x354ec3){case 0x2:var _0x4d9660=_0x52bce9['split']('_');_0x565b47(_0x4d9660,![],_0x354ec3);break;default:_0x565b47(_0x52bce9);}else _0x565b47(null,!![],_0x354ec3);}}});}function _0x1e669d(){var _0x549f0a=_0x505b39;document[_0x549f0a(0x125)](_0x549f0a(0x13c))[_0x549f0a(0x130)]();}function _0x565b47(_0x3a05db=null,_0x3178dd=![],_0x5e6f5a=null){var _0x4481cf=_0x505b39,_0x3f76d0=document[_0x4481cf(0x135)](_0x4481cf(0x128));if(_0x3178dd)switch(_0x5e6f5a){case 0x2:_0x3f76d0[0x0][_0x4481cf(0x130)](),_0x3f76d0[0x1][_0x4481cf(0x130)]();break;default:_0x3f76d0[0x0][_0x4481cf(0x130)]();}else{if(_0x5e6f5a==0x2)for(var _0x4b7c16=0x0;_0x4b7c16<_0x3f76d0[_0x4481cf(0x126)];_0x4b7c16++){_0x3a05db[_0x4481cf(0x13a)](_0x3f76d0[_0x4b7c16]['attributes']['itemid'][_0x4481cf(0x143)])&&_0x3f76d0[_0x4b7c16][_0x4481cf(0x130)]();}else for(var _0x4b7c16=0x0;_0x4b7c16<_0x3f76d0[_0x4481cf(0x126)];_0x4b7c16++){if(_0x3f76d0[_0x4b7c16][_0x4481cf(0x129)]['itemid'][_0x4481cf(0x143)]==_0x3a05db){_0x3f76d0[_0x4b7c16]['click']();break;}}}_0x1e669d();}}()));