• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle



  • 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.