您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically clicks the "Start Watching" button when it appears on the screen on kick.com
// ==UserScript== // @name Kick.com - Auto Click "Start Watching" Button // @namespace Auto start watching // @version 0.5 // @description Automatically clicks the "Start Watching" button when it appears on the screen on kick.com // @author Elest // @match *://kick.com/* // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; function clickStartWatchingButton() { // First type of button const buttonsType1 = document.querySelectorAll('button.variant-action.size-sm.base-button'); buttonsType1.forEach(button => { const innerLabel = button.querySelector('.inner-label'); if (innerLabel && innerLabel.textContent.trim() === 'Start watching') { button.click(); console.log('Button clicked'); } }); // Second type of button const buttonType2 = document.querySelector('.justify-between.items-center.w-full.flex > .base-button.size-sm.variant-action > .button-content'); if (buttonType2) { buttonType2.click(); console.log('Clicked "Start Watching" button'); } } // Observe the document for changes const observer = new MutationObserver((mutations) => { mutations.forEach(() => { clickStartWatchingButton(); }); }); observer.observe(document.body, { childList: true, subtree: true }); window.addEventListener('load', clickStartWatchingButton); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址