08-12-2025, 06:32 PM
(08-12-2025, 03:22 PM)the_conestoga_guy Wrote: @Mods, is there any way to actually block people from appearing in quoted posts who I've gone out of my way to block? It makes me feel gross to participate in feeds where content like this appears.
I don't expect people to receive bans if they haven't already been handed out at this point. I'd like to at least salvage a positive forum experience for myself.
Quotes are just a copy of the original post and not permanently linked to them, so it's not possible to remove with 100% accuracy. I'm sure someone could make a MyBB plugin to do this automatically, but if you're willing to install a Tampermonkey script (or have some other way to automatically run Javascript) then you can use this to block quotes. Just update the "blocklist" line for anything you want filtered out.
Code:
// ==UserScript==
// @name WRC Block quotes
// @namespace http://tampermonkey.net/
// @version 2025-08-12
// @description Blocks quotes containing matching strings
// @author You
// @match https://www.waterlooregionconnected.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant none
// ==/UserScript==
(function() {
'use strict';
const blocklist = ['ac3r', 'example_second_user_to_block'];
for (const quote of document.getElementsByTagName('blockquote')) {
const foundUser = blocklist.find(u => quote.textContent.includes(u));
if (foundUser) {
quote.innerHTML = `Removed because "${foundUser}" appeared within the quote`;
}
}
})();
