YSK: How to filter out posts and comments based on keywords
While this feature is available on many third-party apps, it’s not on the browser. However, since you’re already using an ad blocker, you can use it to filter out content as well.
To filter out posts with certain keywords, go to your custom filters and add this code. For example, to hide all posts containing the word “Elon”:
I am doing this a lot. It helps me to be careful and mindful about what content I consume. If I want to read news, I actively go to a news source of my choice. I don’t need fearmongering doom news sprinkled into my cat feed.
For anyone that uses lemmy on mobile, the Voyager app for lemmy supports filters in the settings. I'm not sure how complex the filters can be. I've just been adding individual terms to my filter list, and it works great.
I’m working on my own lemmy client that will support keyword filtering on both web and in the app. Still need a couple months before it’s ready for beta testing.
New account because in the process of working with the lemmy API, I’ve realized how many API versions the world instance lags behind.