斗鱼自动抢鱼丸

自动领取斗鱼的鱼丸,自动等待,自动发送弹幕增加领取机率 get the yuwan from douyu automatically

目前为 2016-10-06 提交的版本。查看 最新版本

// ==UserScript==
// @name         斗鱼自动抢鱼丸
// @namespace    http://tampermonkey.net/
// @version      0.1.3
// @description  自动领取斗鱼的鱼丸,自动等待,自动发送弹幕增加领取机率 get the yuwan from douyu automatically
// @author       Chuck
// @match        https://www.douyu.com/*
// @match        http://www.douyu.com/*
// @grant        none
// ==/UserScript==

setInterval(function(){
if($(".peck-cdn").html()!="loading...")
  {	
	console.log("发现礼物");
	$(".cs-textarea").val("我抢鱼丸贼6!6666666"+Math.random());
	$(".b-btn").click();
    if(timer!==undefined)clearInterval(timer);
	timer = setInterval(function(){
		if($(".peck-cdn").html()=="领取")
			{	$(".peck-cdn").click();
                if($(".peck-cdn").html()=="loading...")
				 clearInterval(timer);
			}
	},500);
	
  }
console.log("等待礼物");
}, 10000);

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址