您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically clicks the like button on TikTok live streams in a loop
// ==UserScript== // @name TikTok Live Auto Like // @namespace http://tampermonkey.net/ // @version 0.2 // @description Automatically clicks the like button on TikTok live streams in a loop // @author David Dominguez // @match https://www.tiktok.com/*/live // @grant none // @run-at document-end // @license MIT // ==/UserScript== (function() { 'use strict'; const clicksPerBatch = 100; const restTime = 20000; // 20 seconds in milliseconds function clickLikeButton() { const likeButton = document.querySelector('[data-e2e="like-btn"]'); if (likeButton) { for (let i = 0; i < clicksPerBatch; i++) { likeButton.click(); } } } function startLoop() { clickLikeButton(); setTimeout(startLoop, restTime); } // Inicia el loop startLoop(); })();