Lemmy post blocking extension for Firefox

https://lemmy.world/post/21849027

Lemmy post blocking extension for Firefox - Lemmy.World

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.

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!

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

greasyfork.org/en/scripts/469169-lemmytools

LemmyTools

A small suite of tools to make Lemmy easier.

Lemmytools is what I was hoping to find. Thank you! Installed and working great. I’ll never have to see another Trump post again.
TamperMonkey is closed source. I’d recommend ViolentMonkey instead, since it’s open source and is practically identical to the other *Monkey extensions.
GitHub - violentmonkey/violentmonkey: Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.

Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support. - violentmonkey/violentmonkey

GitHub

Did you actually read the “controversy” section?

A malicious adware media player - not related to Tampermonkey - installed Tampermonkey on your device to do bad stuff. And they could have done the same with any other userscript extension, like the suggested Violentmonkey. The wiki section even states:

This does not mean that Tampermonkey is malicious, but rather that a malicious program is utilizing a legitimate program for bad behavior

It’s fine to advocate and promote open source software, but why do that with lies and slander?

I skimmed through the section and simply assumed the worst, sorry about that. Still, it is closed source, so you just have to trust them, bro, and that’s more often than not the wrong approach.

You should be able to do that with a ublock origin filter.

Maybe ask on the community: [email protected]