RemoveReply Extension for Twitch

A simple script that removes all the newly implemented reply buttons on Twitch.

目前為 2020-08-13 提交的版本,檢視 最新版本

// ==UserScript==
// @name         RemoveReply Extension for Twitch
// @version      1.0
// @author       cyndifusic
// @description  A simple script that removes all the newly implemented reply buttons on Twitch.
// @match        https://www.twitch.tv/*
// @grant        none
// @namespace https://gf.qytechs.cn/users/675978
// ==/UserScript==

(function() {
    'use strict';

    var replyButtons;
    var removeElement = function(elementInput) {
        elementInput.parentNode.removeChild(elementInput);
    }
    var removeButtons = function() {
        replyButtons = document.getElementsByClassName("ffz--inline-actions ffz-action-data tw-inline-block tw-mg-r-05");
        for (i = 0; i < replyButtons.length; i++) {
            removeElement(replyButtons[i]);
        }
    }
    document.addEventListener("DOMNodeInserted", removeButtons);
})();

QingJ © 2025

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