is there a way to block posts via keyword?
is there a way to block posts via keyword?
i am going to go insane if I see another Elon Musk post.
please tell me there is a way to block via keyword.
Sync and Boost both offer keyword filtering. That's why I finally decided to use Sync, it was the first app to allow blocking entire instances and filter by keyword. Lemmy is a pretty great place, once you can filter out all the noise.
11 0 ReplyVoyager and Mlem offer it on iOS.
3 0 Reply
The API doesn't let you block by keyword but I'm pretty sure a few Lemmy clients offer keyword filtering.
11 0 ReplyI use Sync and if you had put Musk or Twitter in the headline, I'd never have seen this.
What sucks is that I can't block "x" because too many other headlines have X in the word and the filter strips leading and trailing spaces from the keyword.
5 0 ReplyI can't block "x"
I think that's part of why he did it.
4 0 ReplyI'm sure it played a part
1 0 Reply
I haven't tried this myself but but you should be able to do it by creating custom rules on your adblocker
Example:
lemmy.world##.d-sm-block.d-none > .row:has-text(Blockchain)
lemmy.world##.d-sm-block.d-none > .row:has-text(ChatGPT)
5 0 ReplyHas-text is case sensitive. Adding / before the keyword and /i after will set it to case insensitive.
Example:
lemmy.world##.d-sm-block.d-none > .row:has-text(/Blockchain/i)
You can also use | to add multiple keywords to the filter.
Example:
lemmy.world##.d-sm-block.d-none > .row:has-text(/Blockchain|ChatGPT/i)
4 1 Reply
Fyi, there is a feature request on lemmy repository talking about this: https://github.com/LemmyNet/lemmy/issues/3710
3 0 ReplyYou can do it in a lot of apps/front ends
Which app are you using?
3 0 ReplyI'm just talking about on the website, should have clarified.
3 0 ReplyWhich website?
3 0 Reply
Maybe you can try getting it added to this userscript?
Oh, I misread keyword and keyboard.
Still, take a look here and see if anything adds it.
3 0 Reply