Twitch Point Collector

Auto collect twitch point + Auto reload stream when it crash.

Tính đến 13-04-2023. Xem phiên bản mới nhất.

// ==UserScript==
// @name         Twitch Point Collector
// @namespace    https://www.youtube.com/watch?v=ia6MnXKM8oE
// @version      2.7.0
// @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 e=0,n="Waiting chest | ",t=encodeURIComponent(location.href),c=document.getElementsByClassName("phMMp"),i=document.getElementsByClassName("CDgpA"),l=document.getElementsByClassName("bSHCMy");setInterval(function(){l.length>0&&l[0].click(),"Waiting chest | "!=n&&n>0?(c[c.length-1].innerHTML=n+" sec next chest | "+e,n--):c[c.length-1].innerHTML="Waiting chest | "+e,t!=encodeURIComponent(location.href)&&(c[c.length-1].innerHTML="Waiting chest | "+e),i.length>0&&(i[0].children[0].children[0].children[0].children[0].click(),e++,n=900)},1e3)},!1);