Dem-Bo Sain@lemmy.worldtoLemmy Apps@lemmy.world•Is it possible for web UIs/apps to allow filtering bot posts without signing in?English
3·
1 year agoI’ve tried programming a few greasemonkey scripts to do some things. So far I have a script that expands all posts (except NSFW), and makes all post links open in a new tab. So far they only work on old.lemmy.world. I’ve tried scripting the same thing to work on the default interface, but it seems to work quite differently.
If there’s something in the post that makes bots obvious, it should be simple to find them, and then just make them not render. If you have a specific post you could point me to, I’d like to look into it.
a class=“person-listing d-inline-flex align-items-baseline text-info” title=“@bOt” href=“/u/bOt”…/a
I can probably modify the script to block these bots, because they all have the same username. I would just look for the
title
and remove the posts that equal @bOt.This might be a better task for the dev-team, because my method is definitely a work-around. There could already be an open issue for it on the github. I think we agree that blocking bots should be built into the API.