• amio@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Until proper support arrives (Lemmy 0.19 and… whenever it’s meant to appear on kbin, which currently even errors trying to block a certain hexbear community), I just made a few filters. Unfortunately they are on my other machine. Fortunately they are plain old uBlock Origin selectors, and not that hard to make. The rough points:

    On kbin, posts on the front page, magazine (community) pages etc are article tags, containing links to the user and community. That link will always end with /u/@someone@someplace or /m/somewhere@someplace. As a result you can do stuff like block article.entry:has(a.user-inline[href$="@hexbear.net"]) (posts by all hexbear denizens) article.entry:has(a.magazine-inline[href$="@hexbear.net"]) (posts by anyone to hexbear communities) - this is untested off the top of my dome, syntax might be broken.

    I don’t know how it works in Lemmy, presumably not that differently.