this post was submitted on 10 Nov 2024
30 points (94.1% liked)

Programming

17565 readers
371 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

I'm wondering how hard it would be to write a firefox extension that blocked individual Lemmy posts based on the presence of words in a block list.

I'm pretty famiiar with Python, but have only done a little bit of hacking of JS, so was hoping the brains trust could provide some insight.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 3 weeks ago (5 children)

Should be pretty doable, even if you don't have much JS knowledge yet. You might want to look into TamperMonkey for this, it's a sort of framework for making custom browser plugins!

[–] [email protected] 7 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

I second tampermonkey. I believe the lemmytools user script available in greasyfork does this already though.

https://greasyfork.org/en/scripts/469169-lemmytools

[–] Bluetreefrog 3 points 3 weeks ago

Lemmytools is what I was hoping to find. Thank you! Installed and working great. I'll never have to see another Trump post again.

load more comments (3 replies)