Without using external scripts, is there a way to hide posts that link to specific domains? For example, if I want to hide all posts where the OP put google.com links in the URL field when creating the post.

3 points

Similar question here: https://lemmy.world/post/19194148

In summary: some interfaces and clients allow for that, but not the Lemmy default

permalink
report
reply

I don’t think so but with external scripts you can always get chatgpt to write you some greasemonky scripts to do it

permalink
report
reply
5 points
*

Just remembered Ublock Origin filters also work nice with fediverse sites, although I would prefer to completely purge posts with links I avoid.

But for those curious, here’s an example filter I just cooked:
lemm.ee##a[class="fst-italic link-dark link-opacity-75 link-opacity-100-hover"]:has-text(here_goes_the_domain_as_displayed_under_the_post_title):upward(div[class="post-listing mt-2"])

So as an hypothetical example, if for some reason I have a problem with the sh.itjust.works instance, I could make this: lemm.ee##a[class="fst-italic link-dark link-opacity-75 link-opacity-100-hover"]:has-text(sh.itjust.works):upward(div[class="post-listing mt-2"])

And it ends up looking like this:
https://imgur.com/a/GuOspst
Filter active on the left, and not active on the right.

permalink
report
parent
reply

Meta (lemm.ee)

!meta@lemm.ee

Create post

lemm.ee Meta

This is a community for discussion about this particular Lemmy instance.

News and updates about lemm.ee will be posted here, so if that’s something that interests you, make sure to subscribe!


Rules:

  • Support requests belong in !support
  • Only posts about topics directly related to lemm.ee are allowed
  • If you don’t have anything constructive to add, then do not post/comment here. Low effort memes, trolling, etc is not allowed.
  • If you are from another instance, you may participate in discussions, but remain respectful. Realize that your comments will inevitably be associated with your instance by many lemm.ee users.

If you’re a Discord user, you can also join our Discord server: https://discord.gg/XM9nZwUn9K

Discord is only a back-up channel, !meta@lemm.ee will always be the main place for lemm.ee communications.


If you need help with anything, please post in !support instead.

Community stats

  • 425

    Monthly active users

  • 218

    Posts

  • 5.7K

    Comments

Community moderators