Greasy Fork is available in English.
自动领取斗鱼的鱼丸,自动等待,自动发送弹幕增加领取机率 get the yuwan from douyu automatically
当前为
// ==UserScript==
// @name 斗鱼自动抢鱼丸
// @namespace http://tampermonkey.net/
// @version 0.1.5
// @description 自动领取斗鱼的鱼丸,自动等待,自动发送弹幕增加领取机率 get the yuwan from douyu automatically
// @author Chuck
// @match https://www.douyu.com/*
// @match http://www.douyu.com/*
// @grant none
// ==/UserScript==
console.log("鱼丸自动领取已经启动");
setInterval(function(){
if($(".peck-cdn").html()!="loading...")
{
console.log("发现礼物");
try{
eval("timer");
clearInterval(timer);
} catch (e){}
timer = setInterval(function(){
if($(".peck-cdn").html()=="领取")
{
$(".cs-textarea").val("666666 "+Math.random()*100%1);
$(".b-btn").click();
$(".peck-cdn").click();
if($(".peck-cdn").html()=="loading...")
clearInterval(timer);
}
},500);
}
}, 10000);