您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
automatically clicks the "Claim" button
当前为
// ==UserScript== // @name My Twitch Drop Claimer // @name:ru My Twitch Drop Claimer // @namespace http://www.aazone.ru/ // @version 0.3 // @description automatically clicks the "Claim" button // @description:ru автоматически нажимает кнопку "Получить" // @author Aaz // @match https://www.twitch.tv/* // @match *://*.twitch.tv/* // @match *://twitch.tv/* // @icon https://static.twitchcdn.net/assets/favicon-32-d6025c14e900565d6177.png // @grant none // ==/UserScript== /* jshint esversion: 6 */ (function() { 'use strict'; const GetButton = () => { const yNode = document.querySelector('.sc-fzozJi.sc-fzoLsD.hcnNKD'); if (yNode) { yNode.click(); console.log('Get drop button is pressed'); } }; setInterval(GetButton, 5000); })();