斗鱼自动抢鱼丸

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

目前為 2016-10-08 提交的版本,檢視 最新版本

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

console.log("鱼丸自动领取已经启动");
setInterval(function(){
if($(".peck-cdn").html()!="loading...")
  {	
    try{
     eval("timer");
     clearInterval(timer);
   } catch (e){}
	timer = setInterval(function(){
		if($(".peck-cdn").html()=="领取")
			{					
				$(".b-btn").click();
				$(".peck-cdn").click();
                if($(".peck-cdn").html()=="loading...")
				 clearInterval(timer);
			}
	},500);
	
  }
}, 10000);

QingJ © 2025

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