• amio@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    11 months 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.

    • HubertManne@kbin.social
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      I had an issue blocking a certain community (on kbin) and was then able to block the domain. I did not really want to block the whole domain but since it was erring on the magazine and I found that one particularly annoying I finally blocked the domain.