How do I block entire instances?

guyman@lemmy.world to Asklemmy@lemmy.ml – 2 points –

I mean what comes after the @. I'm tired of seeing a bunch of lame porn from @lemmynsfw

6

If you use Ublock Origin, here's a filter that will hide lemmynsfw posts on your main page. Filters should work the same on all major ad blockers, but I can't vouch for that.

! 2023-06-21 https://lemmy.world
lemmy.world##.post-listing:has-text(@lemmynsfw.com)

ELI5 explaination:

the first line is just so Ublock can keep different filters and domains organized

lemmy.world## - only use this filter on this site

.post-listing - evaluate everything on the page with the class name post-listing

has-text(lemmynsfw.com) - the text we want to filter

Of course if the site gets updated and the layout changes, this filter won't work anymore. I'm on VLemmy, so I can't really test it on lemmyworld. Let me know if it doesn't work. Cheers.

I don’t think users can block an instance. But you can uncheck “show nsfw” in your settings.

Dang. I don't mind seeing nsfw content. I just don't want entire instances dedicated to it showing up in my feed.

I agree. I have it turned off for now because it was dumb seeing stupid porn, but I don't mind reading about other adult topics, and self-tagging NSFW stuff is obviously capriciously applied. What would be inappropriate to some is not to others. It would be nice to be able to control that more granularly.

Go to kbin.social/d/lemmynsfw.com and click the block button in the right hand column. You can also subscibe to entire instances in the same way!