No Reports

This userscript removes all ways to report people on Twitch. (useful for people who may need to prevent themselves from reporting people for stupid reasons)

目前為 2025-04-05 提交的版本,檢視 最新版本

// ==UserScript==
// @name         No Reports
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  This userscript removes all ways to report people on Twitch. (useful for people who may need to prevent themselves from reporting people for stupid reasons)
// @author       ProKameron
// @match        https://www.twitch.tv/*
// @icon         https://cdn-icons-png.flaticon.com/512/5968/5968819.png
// @license      MIT
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    const TARGET_LABELS = ["More options", "Clip Options"];

    function removeButtons() {
        TARGET_LABELS.forEach(label => {
            document.querySelectorAll(`button[aria-label="${label}"]`).forEach(btn => {
                btn.remove();
            });
        });
    }

    // Initial run
    removeButtons();

    const observer = new MutationObserver(() => {
        removeButtons();
    });

    observer.observe(document.body, {
        childList: true,
        subtree: true,
    });
})();

QingJ © 2025

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