Filter GamesDoneQuick (AGDQ, SGDQ) Twitch chat.

Removes chat messages with emotes only, UPPERCASE ONLY and user notices.

// ==UserScript==
// @name         Filter GamesDoneQuick (AGDQ, SGDQ) Twitch chat.
// @namespace    https://gamesdonequick.com/
// @version      0.5
// @description  Removes chat messages with emotes only, UPPERCASE ONLY and user notices.
// @author       ciscoheat
// @match        https://www.twitch.tv/gamesdonequick*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    setInterval(function() {
        var messages = document.querySelectorAll('.chat-line__message');
        [].forEach.call(messages, function(message) {
            var node = message.querySelector('span[data-a-target="chat-message-text"]');
            var msg = node ? node.innerText : null;
            //console.log(msg);
            if(!node || (msg.toUpperCase() == msg ||
                       msg == "SourPls" ||
                       msg.match(/^([A-Z][a-z]+)+$/) !== null)
            ) {
                message.style.display = "none";
            }
       });

        var notices = document.querySelectorAll('.user-notice-line');
        [].forEach.call(notices, function(notice) {
            notice.style.display = "none";
        });
     }, 1);
})();

QingJ © 2025

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