您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
use it in ffa or 2teams - i will give you 250,069,420,000 stars if you grind to 100,000 games played
// ==UserScript== // @name triep games played grinder // @namespace http://tampermonkey.net/ // @version 6.99 // @description use it in ffa or 2teams - i will give you 250,069,420,000 stars if you grind to 100,000 games played // @author Zert // @match https://triep.io/* // @icon https://www.google.com/s2/favicons?sz=64&domain=triep.io // @grant none // @run-at document-start // ==/UserScript== let fakeEvent = new Event(''), realEvent = window.r = new Proxy({ __proto__:fakeEvent }, { get:(a, b, c) => b === 'isTrusted' || fakeEvent[b] }) let onclick = window.o = {} let buttons = ['leave-game', 'continue-btn', 'play-btn'], click = function(e) { if(e.onclick) { e.onclick(realEvent) return } let id = e.className onclick[id] && onclick[id](realEvent) } HTMLElement.prototype.addEventListener = new Proxy(HTMLElement.prototype.addEventListener, { apply:function(a, b, c) { if(c[0] === 'click') { onclick[b.className] = c[1] } return Reflect.apply(a, b, c) } }) setInterval(function() { buttons.forEach(id => click(document.getElementsByClassName(id).item(0))) }, 10500) setTimeout(function() { document.getElementsByClassName('circle').item(0).remove() }, 10000)