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

  • linuxFan@vlemmy.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.