博文

自动辣条机帮助

1. 本脚本会自动识别弹幕里的礼物广播,会多次进行跳转,建议将页面设置为静音以获得更好的体验 2. 由于辣条的领取与账号绑定,所以使用本脚本之前,请先登录 3. 如果提示框长时间无更新,可能是由于页面格式与本脚本兼容的不同所致,手动返回直播主页即可 4. 使用本脚本,意味着您许可本脚本对直播间的礼物抽奖自动点击所需相关权限,如果因此造成您的礼物丢失,账户余额受损,本脚本概不负责。

自动辣条机

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;             }         }     }     console.log(lst);     if (lst.length > 0) {         return window.location.href = lst[Math.round(Math.random() * lst.length)];     }     else window.location.href = xx[0].href; } function scro(pos) {     window.scrollTo(0, pos); } fun