My Twitch Drop Claimer

automatically clicks the "Claim" button

目前为 2021-07-27 提交的版本。查看 最新版本

// ==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);

})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址