Thank you, I’ve found the post in YSK, and eventually used this filter instead:
programming.dev##article.row:has-text(/Trump|Elon|Musk/i)
With the post-listing, if I opened an article by a link, it would also hide the post text - which has funnily enough happened when I opened the YSK post, and by that point I’m kind of interested in what it has to say. By using the rule above, it only seems to hide it from the feed. I haven’t tested how robust it is, just posting it here in case someone else is interested.
It shouldn’t be hard to modify. I haven’t looked into it, but I assume that it looks for ID/class of HTML elements, so if you replace
.post-listing
with a class you find by using RightClick - Inspect on the feed/post listing in your UI, it should work.Here is what you are looking for, I found it by Right Clicking the post listing, and clicking on Inspect.
So, for example, if I wanted to filter comments, the rule would be (the . is there because it’s a class, I assume?)
programming.dev##.comment-content:has-text(Musk)
I haven’t tested it, but from my vague CSS knowledge, it could work like that.