this post was submitted on 30 Aug 2024
19 points (95.2% liked)

Meta (lemm.ee)

3579 readers
2 users here now

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:


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.

founded 1 year ago
MODERATORS
 

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.

top 5 comments
sorted by: hot top controversial new old
[–] Blaze@feddit.org 3 points 2 months ago (1 children)

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

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

[–] ProtonFiber@lemm.ee 1 points 14 hours ago

Post link in case anyone reading this from lemm.ee so there are no need to leave the instance to read the hyperlinked post: https://lemm.ee/post/40968078

[–] muntedcrocodile@lemm.ee 1 points 2 months ago (1 children)

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

[–] Auster@lemm.ee 6 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] muntedcrocodile@lemm.ee 2 points 2 months ago

Shit, the fucking simple solution. classic