anyway to block lemmy.world? - eviltoast

pure liberal cringe. And propaganda. When I tried to post the propaganda that I believe my post was deleted. Also a lot U.S.A drama of politics, like any of that matters. How do I make lemmy.world disappear from my feed in dbzer0 ?

  • onoira [they/them]@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    4 months ago

    some apps and frontends let you filter posts and comments.

    if you’re in the browser: blocking an instance from your account settings will block postshide communities from that instance. this also has the benefit that you don’t get notified when someone from a blocked instance replies to you or sends you a message.

    to hide comments and other posts in the browser on the default frontend, i use a userstyle:

    code
    /* hides posts */
    .post-listing:has(* > .person-listing[href$="@lemmy.world"])
    {
        display: none;
    }
    
    /* hides comments and replies */
    .comment-node:has(* > .person-listing[href$="@lemmy.world"]),
    .comment-node:has(* > .person-listing[href$="@lemmy.world"]) + .comments
    {
      display: none;
    }
    
    /*
    * hides post separators in feed.
    *
    * (a) it's more compact this way.
    * (b) they get left behind when hiding posts.
    * 
    */
    .my-3 { display: none; }
    

    EDIT: corrections. more code. put inside a details block.

    • zaknenou@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      4 months ago

      so blocking an instance from account settings forbids posts submitted to its’ communities from appearing on my feed

      the method you added forbids also comments of users of lemmy.world from appearing for me on posts that I view.

      but what about these posts that are like: “<some user>@lemmy.world to <some community that I’m not blocking, or maybe even following>” is there a way to prevent them from appearing ?
      for example this community: “whitepeopletwitter@sh.itjust.works” I don’t even understand what it is about but seems something USA specific. Yet I get posts from it appearing on my “all” feed whenever I login to dbzer0. And I notice a lot of these posts are from lemmy.world users and recently about U.S.A election,
      There is also election in my country this year but I really don’t care, I think it is a waste for my time to care about elections.
      It is good though that we don’t have republicans groups here, so half the problem is solved on Lemmy by default.

      • onoira [they/them]@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        but what about these posts that are like:

        ah right, yeah. i updated my original snippet with the styling for hiding posts also.

        It is good though that we don’t have republicans groups here, so half the problem is solved on Lemmy by default.

        there are neocon and alt-right instances, but they don’t normally federate, or they’re quarantined very quickly (usually for posting CSAM… hmmm…).