MCPcopy Create free account
hub / github.com/hoothin/UserScripts / checkNext

Function checkNext

Invite Code Tool/Invite Code Tool.user.js:49–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 function checkCode(){
48 if(checkFun)clearInterval(checkFun);
49 var checkNext=function(){
50 if(codeArr.length===0){
51 clearInterval(checkFun);
52 if(checkinvite)clearInterval(checkinvite);
53 alert("没有找到正确的邀请码!");
54 return;
55 }
56 invitecode.value=codeArr.shift();
57 if(is1024){
58 unsafeWindow.invcodecheck();
59 }else{
60 unsafeWindow.checkinvite();
61 }
62 };
63 var checkBtn=invitecode.parentNode.querySelector(".btn");
64 checkFun = setInterval(function() {
65 if(preTxt!=chkInvitecode.innerHTML){

Callers 1

checkCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected