How To Block Idiots, Yappers and Spammers

Easy.

First, send Bitcoin to this address.

bc1qf2ph0hwul3a0pvv4wp7ex958frpgsjmjncjftz

Then use this script.

Since admin won’t implement the block feature properly, take matters into your own hands. Nyonga monkey. This is a client-side workaround of course you can still view their profiles and whatnot but at least they won’t appear in your feed page and subcategories like General and News & Politics.

Modify as needed.

// ==UserScript==
// @name         Discourse Yapper Hider
// @namespace    http://tampermonkey.net/
// @version      1.3
// @description  Hides posts from a predefined list of yapsters on Discourse forums
// @author       Your Name
// @match        https://kenyatalk.com/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function () {
    'use strict';
    // --- CONFIGURATION ---
    const YAPSTERS = ["cortedivoire", "Hno_Hh", "RV_Pundit", "255", "Jack_Black", "Landlord", "NUBIA", "TrumanCapote", "GituK7", "Ndovu", "Sanchez11"];
    // --- END CONFIGURATION ---
    const SCRIPT_PREFIX = "[User Hider Debug]";
    console.log(`${SCRIPT_PREFIX} Script loaded (v1.3). Watching for page content.`);
    console.log(`${SCRIPT_PREFIX} Users to hide:`, YAPSTERS);
    const lower_case_yapsters = YAPSTERS.map(name => name.toLowerCase());
    const hidePosts = () => {
        console.log(`${SCRIPT_PREFIX} Running hidePosts() function...`);
        const topics = document.querySelectorAll('.topic-list-item');
        if (topics.length === 0) {
            console.log(`${SCRIPT_PREFIX} No topic rows found with selector '.topic-list-item'. The site structure may have changed or content hasn't loaded yet.`);
            return;
        }
        console.log(`%c${SCRIPT_PREFIX} Found ${topics.length} total topic rows.`, 'color: green; font-weight: bold;');
        topics.forEach((topic, index) => {
            if (topic.dataset.checked) return;
            topic.dataset.checked = true;
            const author_element = topic.querySelector('a[data-user-card]');
            if (author_element) {
                const author_name = author_element.getAttribute('data-user-card').toLowerCase();
                if (index < 10) {
                    console.log(`${SCRIPT_PREFIX} Topic #${index + 1}: Found author '${author_name}'.`);
                }
                if (lower_case_yapsters.includes(author_name)) {
                    console.log(`%c${SCRIPT_PREFIX} MATCH FOUND! Hiding post by '${author_name}'.`, 'color:red; font-weight: bold;');
                    topic.style.display = 'none';
                }
            } else {
                if (index < 10) {
                    console.log(`${SCRIPT_PREFIX} Topic #${index + 1}: Could not find an author element with selector 'a[data-user-card]'.`);
                }
            }
        });
    };
    const observer = new MutationObserver(hidePosts);
    document.addEventListener('DOMContentLoaded', () => {
        console.log(`${SCRIPT_PREFIX} DOMContentLoaded event fired. Performing initial scan.`);
        hidePosts();
        observer.observe(document.body, {
            childList: true,
            subtree: true
        });
        console.log(`${SCRIPT_PREFIX} MutationObserver is now active and watching for page changes.`);
    });
})();
1 Like

On one hand, I don’t block because I’m open to hearing new thoughts and opinions. You might learn something new, even from E Minus students like @Josto_Bwaku and @Straw_man

On the other hand, I would like to filter out nonsense posted by zinjanthropus boisei like @cortedivoire and @Sanchez11

6 Likes

You ain’t getting my attention boy

No.

season 1 friends GIF

Who is this?

Joey aka Matt Leblanc. Next.

2 Likes

Meffi wewe

Dawa ya yappers
Yap Stop Talking GIF

Actually this is the premier parasite gif.

Elaine Yapping GIF by MOODMAN

Naona tu console log.

Garbage

1 Like

This is one of the guys who was calling me a vibe coder the other day, even as I was submitting my app to the app store where it’s probably making waves.

App store unalipishwa ngapi for dev account?

I was grandfathered in since I’ve had a dev account for years. AI did the rest.

Gen Z mujiiinga I will Scythe you Grim Reaper style ukicheza na mimi. Kwenda cheza na kifua flat ya Nafula hukoo -------->

Still hallucinating like GPT3 I see, only less coherent.

1 Like

Oh ye of little faith..