您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto collect twitch point + Auto reload stream when it crash.
// ==UserScript== // @name Twitch Point Collector // @namespace https://www.youtube.com/watch?v=ia6MnXKM8oE // @version 3.0.2 // @description Auto collect twitch point + Auto reload stream when it crash. // @author TheGeogeo // // @match https://www.twitch.tv/ // @match https://www.twitch.tv/* // // @icon https://i.imgur.com/dM2dEZF.png // @grant none // ==/UserScript== window.addEventListener('load', function () { let collectCount = 0; let countDown = "Waiting chest | "; let url = encodeURIComponent(location.href); let chatButtonClassName = document.getElementsByClassName("bFxzAY"); let pointButtonClassName = document.getElementsByClassName("bTXTVH fEpwrH"); let streamReloadButtonClassName = document.getElementsByClassName("bSHCMy"); (function () { setInterval(function () { if (/directory/.test(window.location.href) || /settings/.test(window.location.href) || /drops/.test(window.location.href) || /subscriptions/.test(window.location.href) || /wallet/.test(window.location.href)) return; if (streamReloadButtonClassName.length > 0) streamReloadButtonClassName[0].click(); if (countDown != "Waiting chest | " && countDown > 0) { chatButtonClassName[chatButtonClassName.length - 1].innerHTML = countDown + " sec next chest | " + collectCount; countDown--; } else { chatButtonClassName[chatButtonClassName.length - 1].innerHTML = "Waiting chest | " + collectCount; } if (url != encodeURIComponent(location.href)) { chatButtonClassName[chatButtonClassName.length - 1].innerHTML = "Waiting chest | " + collectCount; } if (pointButtonClassName.length > 0) { pointButtonClassName[0].click() collectCount++; countDown = 900; } }, 1000); })(); }, false);
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址