WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

858

First off, I just picked the first name of each level that I saw. Don't be a butthurt baby for no reason, thanks. So... I've seen people ask for user blocking functionality several times, and the usual verdict is 'we don't want to allow the creation of an echo chamber' (which is a valid argument).

That got me thinking about how Poal could make it easier to 'ignore' posts from users without outright removing their posts from the feed, and I came up with the (admittedly simple) idea of turning down the opacity of a post's div with the code below. I know this would take more work on the back-end, but I'm just tossing the idea out there because I would definitely use it.

Thoughts?

var userNames = ['domitiusofmassilia', 'maddmartigan', 'saba', 'professor_de_la_paz', 'timmy', 'wawhite'];
Array.from(document.querySelectorAll('.lv0, .lv2, .lv6, .lv20, .lv30, .lv50')).forEach(function (el) {
    if(userNames.some(function (un) { return el.innerHTML.toLowerCase().indexOf(un) >= 0; })) {
        el.closest('.post').style.opacity = "0.2";
    }
}); 
**First off, I just picked the first name of each level that I saw. Don't be a butthurt baby for no reason, thanks.** So... I've seen people ask for user blocking functionality several times, and the usual verdict is 'we don't want to allow the creation of an echo chamber' (which is a valid argument). That got me thinking about how Poal could make it easier to 'ignore' posts from users without outright removing their posts from the feed, and I came up with the (admittedly simple) idea of turning down the opacity of a post's div with the code below. I know this would take more work on the back-end, but I'm just tossing the idea out there because I would definitely use it. Thoughts? ``` var userNames = ['domitiusofmassilia', 'maddmartigan', 'saba', 'professor_de_la_paz', 'timmy', 'wawhite']; Array.from(document.querySelectorAll('.lv0, .lv2, .lv6, .lv20, .lv30, .lv50')).forEach(function (el) { if(userNames.some(function (un) { return el.innerHTML.toLowerCase().indexOf(un) >= 0; })) { el.closest('.post').style.opacity = "0.2"; } });

(post is archived)

Normally, I'd use jquery, but my intent was to no require anything but simple JS to reduce all the dependency shit.