Never Let Chat Pause (Memory Leak Fix)

Keeps chat active to most recent messages, will not allow it to scroll up and see previous messages

目前為 2024-11-13 提交的版本,檢視 最新版本

// ==UserScript==
// @name         Never Let Chat Pause (Memory Leak Fix)
// @namespace    https://gf.qytechs.cn/en/users/1200587-trilla-g
// @version      3.8
// @description  Keeps chat active to most recent messages, will not allow it to scroll up and see previous messages
// @author       Trilla_G
// @match        *://*.kick.com/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Updated CSS selector
    const buttonSelector = '.betterhover\\:hover\\:bg-surface-higher';

    // Function to check for the button and click it
    function checkForButtonAndClick() {
        const button = document.querySelector(buttonSelector);
        if (button) {
            button.click();
            console.log('Button clicked!');
        }
    }

    // Set a periodic check to click the button every 15 seconds
    setInterval(checkForButtonAndClick, 15000); // 15000 milliseconds = 15 seconds
})();

QingJ © 2025

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