totalLatiao = 0; upzhu = ""; badScanCnt = 0; tmHandle = -1; normalRoom = /[0-9]{3,}/ function work() { xx = document.getElementsByClassName("room-card-ctnr"); //if(xx.length<89)reach();//return setTimeout(reach,1000); lst = []; for (i = 0; i < xx.length; i++) { tt = xx[i].getElementsByTagName("span"); if (tt.length == 4 && tt[0].innerText == "正在抽奖") { console.log(tt[2].innerText + " " + upzhu); if (tt[2].innerText != upzhu && xx[i].href) { //return console.log("jump to "+xx[i].href); lst.push(xx[i].href); //window.location = xx[i].href; } ...