You can use uBlock Origin to block certain keywords in posts!

Why

If you're like me, you're really tired of seeing the lemmy homepage and every community fill up with really bad news from the US.

How

First, open the uBlock Origin dashboard, navigate to My Filters tab and add the appropriate line.

# lemmy.world
# thanks to /u/zkfcfbzr
lemmy.world##article.row:has-text(/Trump|Musk|ICE|Vance|slop|Microsoft|Grok|Republican|Democrat|Republicans|GOP|Democrats/i)

# lemmy.zip
lemmy.zip##article.row:has-text(/Trump|Musk|ICE|Vance|slop|Microsoft|Grok|Republican|Democrat|Republicans|GOP|Democrats/i)

Because the Lemmy HTML is generally the same on each instance, the above should work if you change the first part to the Lemmy domain. Then replace the | pipe separated keywords with your own list.

Here are some other things you can do:

# filter comments
# thanks to /u/Free_Opinions@feddit.uk
lemmy.world##article.comment-node:has(div.comment-content:has(p:has-text(/trump/i)))

# filter posts with certain words, with exceptions
# thanks to /u/zkfcfbzr@lemmy.world
lemmy.world##article.row:has-text(/word1|word2|word3/i):not(:has-text(/word4|word5|word6/i))

Originally posted a year ago.

all 50 comments

sorted by: hot top controversial new old
[+] 49 points 10 months ago* (last edited 2 weeks ago) (2 children)
  • [–] 13 points 10 months ago

    And on PieFed, you can either block things by keyword entirely, or just make them Semi-Transparent if you still want to see them in your feed occasionally, but just have it be easier to skip over.

    For example, here's my filter for the words "Trump" and "Musk" turned on and off, where you can see the filter being on makes the post transparent enough that it's kinda annoying to look at unless you really want to.

    KV3XBXJSYZEC3WV.png

    SCRq9s64vnqeHAe.png

    You can also set an expiry date if you only want the filter to work for a certain amount of time.

  • source
  • parent
  • [–] 11 points 10 months ago* (1 child)

    January 2025, I realize I don't want to spend the whole year suffering king cunt's awful rhetoric (it failed), I block his name with ublock. A few months later I forgot about it and spend an hour trying to figure out why I can't find my Lemmy post mentioning Trump.

    It works really well.

  • source
  • hideshow 1 child comment
  • [–] 35 points 10 months ago (14 children)

    I want to see zero anime and zero furry shit.

    I'll take my down votes with pride.

  • source
  • hideshow 14 child comments
  • [–] 14 points 10 months ago* (2 children)

    That's fair, I'm a bit weirded out by furry stuff too. (But of course I think they should be free to express themselves however they wish, and if they want to do that, it doesn't affect me negatively in any way)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 12 points 10 months ago (7 children)

    My trick: I ended up just blocking 5 or 6 total users and see almost none of it.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 3 points 10 months ago (6 children)

    Good idea. I was blocking communities

  • source
  • parent
  • hideshow 6 child comments
  • [–] 8 points 10 months ago (5 children)

    Yeah, that's what I tried first, but it was basically a game of whack-a-moe.

    I don't like the nuclear option of outright blocking people, but blocking a single person is easier than blocking two dozen communities, and it future proofs it when they continue making new ones.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 10 months ago (2 children)

    whack-a-moe

    That's pretty clever

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • [–] 4 points 10 months ago (1 child)

    Can I use something similar to remove videos with the "Members Only" tag on youtube?

  • source
  • hideshow 1 child comment
  • [–] 11 points 10 months ago (9 children)

    I don't understand why people have such trouble with this. I have curated my own feed of subscribed communities and I already only see stuff I want to see. Is this really that difficult? Don't want US news? Don't sub to US-centric news communities (whether in name or not). Don't want furries? Don't subscribe to furry communities? Don't want anime? Don't subscribe to anime communities. Don't want politics? Don't subscribe to political communities. Don't want memes? Don't subscribe to meme communities. I genuinely don't understand why that's not enough for people.

  • source
  • hideshow 9 child comments
  • [–] [S] 23 points 10 months ago

    Oh I see the disconnect. I primarily browse Lemmy through the all page, because I wanted my subscribe community list to be a small selection of communities I really like. I also want to stay up to date on new communities when they appear.

  • source
  • parent
  • [–] 5 points 10 months ago*

    This doesn't always work, especially if you:

    • View by All/Trending/the equivalent depending on your client/instance
    • Follow broad communities (e.g. Shitposting where literally any topic is allowed, but you'd rather just not see more politics)
    • Follow communities that have rules against certain content that is sometimes just ignored, especially by new posters (e.g. there might be a "News" community that has a rule called "No U.S. Politics" but people in the U.S. will still post something related to American politics there because they simply didn't read the rules first)
  • source
  • parent
  • [–] 0 points 10 months ago

    I use all/new on Lemmy.

    I just block the things and the user that posted it from things I don't want to see. furry stuff, racist shit, all sports related anything, most ai slop, and people that post the same thing in 30 different places.

    the feed gets nicer by the day but there's always this random furry crap that always pops up. I swear it's endless

  • source
  • parent
  • [–] 3 points 10 months ago* (last edited 10 months ago)

    For mbin: fedia.io##article:has(header:has(h2:has-text(/trump/i))) if you want case sensitivity drop the i: fedia.io##article:has(header:has(h2:has-text(/ICE/)))

  • source
  • [–] [S] 2 points 10 months ago (1 child)

    Thank you to /u/zkfcfbzr@lemmy.world for the original post and filter and /u/Free_Opinions@feddit.uk for the comment filter.

  • source
  • hideshow 1 child comment
  • [–] 1 point 10 months ago

    Could this be done on some nostr clients?

  • source
  • [+] -15 points 10 months ago (12 children)

    You should know, you can cover your ears, close your eyes and start to babble so you can protect yourself from bad news.

  • source
  • hideshow 12 child comments
  • [–] [S] 23 points 10 months ago (4 children)

    That's unfair. I read The Guardian and the Australian Broadcasting Channel every day, and routinely check the Wikipedia Current Events page. I am up to date with the news. But I don't come to Lemmy to get even more news about the fascist US, and their effects on the world.

    Being surrounded by it all day affects my headspace, and I'm aware of that. It's not weakness that I protect myself.

    Now kindly fuck off.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 10 months ago (2 children)

    So why not just not subscribe to news focused (especially US news focused) communities?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 10 months ago (4 children)

    It's not "bad news", it's "negative noise". Most of the time, reading about any singular instance or event does not actually inform people outside of the US.

  • source
  • parent
  • hideshow 4 child comments
  • [+] -10 points 10 months ago (3 children)

    This is a ridiculous take in my opinion.

    I guess if we are following the logic then we should also not study history as it generates a lot of negative noise.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 10 months ago (2 children)

    It's a ridiculous take that the political minutiae of the US is largely meaningless to people outside the US?

    Look, it's enough for me to know that the USA has made a thinly veiled threat about forcibly taking over Greenland. This is of immediate concern to me.

    I don't need to know the details of what the American version of Göring said in defence of the American version of the Gestapo this week.

    We have our own domestic nonsense that I'm sure you don't get inundated with - why would it be so ridiculous for us not to want to get bombarded with yours?

  • source
  • parent
  • hideshow 2 child comments
  • [+] -8 points 10 months ago (1 child)

    Have fun with that opinion.

    I actually enjoy learning about what is happening around the world. No matter if it is a genocide, an obviously evil new law to strip away peoples freedoms, or new aide packages being sent to places that need it from countries a lot less wealthy than the USA.

    If anything, I hope the world learns from the fall of America. Although, mostly I'm excited about finally being able to use the metric system.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 10 months ago*

    You are being naive. Who tells the story? Do they have an agenda they want to push?
    I can already hear youu typing: "That is why you should check multiple sources, etc".

    I would reply that is literally impossible to follow all the minitua on everything and would ask if that is a sound strategy to take in life, using all your energy and time on a day trying to know all that is to know in the world; or is best to use your time and energy wisely to better your life and of those around you?

    The US is not the center of the world, you are conditioned of thinking that something is important even if it doesn't apply tangibly to your life in any impactful way.
    Fascists use that rhetoric to trap people into believing whatever they are trying to sell.

    Ps: I used to think like you, I was thaught it was the best thing to do, be open minded and what not. There is truth in that phrase but the best way to spin a narrative is taking a bit of truth and wraping it in shit

  • source
  • parent
  • [–] -2 points 10 months ago (1 child)

    Just use the built in features of any client

  • source
  • hideshow 1 child comment