Is there a way to filter out a specific word from my feed? Like a tampermonkey script or something?

Sorry if this is the wrong place to ask

1 points · 5 comments · view on lemmy.world

5 Comments

fiofiofio@kbin.social · 3 pts · 3y (1 reply)

I'm working on one. Currently I have Enough about Reddit already which filters out reddit-related words. If you're comfortable editing a script, you could add your own words to the blacklist.

auhu@kbin.social · 2 pts · 3y

It works great! I changed the blacklist.

Not sure if it's only me, but I got undefined errors sometimes so I added this spaghetti before the const description declaration:

if (!article.getElementsByClassName("short-desc")[0]) return;

if that helps anyone in the future

avividtale@kbin.social · 2 pts · 3y

In the meantime, you can block magazines and instance domains if needed. Someone else posted the guide but essentially it's:

Go to: https://kbin.social/d/domainnameyouwanttoblock and then hit the block button that is next to subscribe.

If the words you want to block are particularly associated with a topic/instance you want no part of, this is a good option.

Rhaedas@kbin.social · 2 pts · 3y

It's fine, but repost it also to kbinStyles. I don't think I've seen a word filter script yet, could be useful.