您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Hace clic automáticamente en el botón "Aun así quiero participar" en Twitch
// ==UserScript== // @name Auto Click Participate Button // @namespace elanis // @version 1.0 // @description Hace clic automáticamente en el botón "Aun así quiero participar" en Twitch // @author elanis // @match *://*.twitch.tv/* // @icon https://www.google.com/s2/favicons?sz=64&domain=twitch.tv // @exclude *://*.twitch.tv/p/* // @exclude *://*.twitch.tv/popout/*/poll* // @exclude *://*.twitch.tv/popout/*/reward-queue* // @exclude *://*.twitch.tv/popout/*/predictions* // @exclude *://*.twitch.tv/popout/moderator/* // @exclude *://*.twitch.tv/moderator/* // @exclude *://*.twitch.tv/broadcast/* // @exclude *://*.twitch.tv/subs/* // @exclude *://*.twitch.tv/jobs/* // @exclude *://*.twitch.tv/teams/* // @exclude *://*.twitch.tv/store/* // @exclude *://player.twitch.tv/* // @exclude *://dashboard.twitch.tv/* // @run-at document-end // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js // @grant GM_getValue // @grant GM_setValue // @grant none // @license Ns // ==/UserScript== window.addEventListener('load', function() { console.log('Script iniciado'); function clickParticipateButton() { // Selector para encontrar el botón "Aun así quiero participar" const participateButton = $('div[data-a-target="tw-core-button-label-text"]:contains("Aun así quiero participar")'); if (participateButton.length > 0) { participateButton.click(); console.log('Botón "Aun así quiero participar" clickeado'); } } // Intenta hacer clic en el botón cada 10 segundos setInterval(clickParticipateButton, 10000); });