Using uBlock Origin, you can add your own filter. This filter will block any post with the text “Elon Musk” (not case sensitive), modify as needed.

lemmy.world##div.post-listing:has(span:has-text("/elon musk/i"))

div.post-listing is the element to block
:has(args) returns elements where args evaluate to true
span is the element with the title text
:has-text(needle) returns the element if it has the next needle, supports regex with \needle\ and remove case sensitivity with i

Read more here: https://github.com/gorhill/uBlock/wiki/Procedural-cosmetic-filters

  • TDCN@feddit.dk
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 months ago

    I have been wondering how I could do the same for X (formerly known as twitter). I’m tired of reading about it every day. I don’t know how to filter it out since it’s just one letter and it’ll filter out everything just containing an X in a word

    • madsen@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      edit-2
      8 months ago

      You can use the regex: /\bx\b/i

      It’ll catch ‘x’ surrounded by word boundaries (stuff like spaces, dashes/hyphens, commas, etc.) but not ‘x’ with other letters on either side, so it won’t match e.g. “sax” or “boxer”, but it’ll match “x.com” and “Elon’s X” and stuff. It’s probably not perfect though, so use with caution.

      • Mananasi@feddit.nl
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 months ago

        Stuff about X-rays will be filtered, for example. You could probably go a little safer with the regex.

        • madsen@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          Yeah, there’s room for improvement. I did say, though, that it probably wasn’t perfect. I’m sure someone more patient than me can come up with a much more effective regex.

      • TDCN@feddit.dk
        link
        fedilink
        English
        arrow-up
        2
        ·
        8 months ago

        It’s sadly not perfect as @Mananasi@feddit.nl also states, and since I like maths related stuff too and science it’ll likely filter out too much stuff. But I appreciate your efforts. An ai algorithm or a community created blacklist is probably the only solution.

  • ColorcodedResistor@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Block him?

    Have we tried eating him yet?

    I’m not saying he’ll taste well but I’ll do my best to stomach it.

  • mark@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Neat! I follow Lemmy communities in an RSS feed so I can just filter right in my RSS reader. It’s pretty nice.

  • undetermined@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Thanks for this. I have a very long blocklist in my Memmy client and I’ll transfer it over to desktop now.

  • FaceDeer@kbin.social
    link
    fedilink
    arrow-up
    6
    arrow-down
    23
    ·
    8 months ago

    And I heartily encourage people who loathe Elon Musk to do this. Perhaps then it will be easier to discuss subjects like reusable rocketry or electric cars without so much “but the Twitter!” digression.

    • ShittyBeatlesFCPres@lemmy.world
      link
      fedilink
      English
      arrow-up
      25
      arrow-down
      3
      ·
      edit-2
      8 months ago

      He’s not designing the rockets, dude. He’s on ketamine posting rot about The Jews. The world does not need Elon Musk to have technological progress.

        • GiveMemes@jlai.lu
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          8 months ago

          There is exactly one patent with his name on it and it’s the shitty door handle that breaks all the fucking time. I’ll believe he’s involved with the rocketry division the moment he develops any kind of engineering experience or skill that he’s willing to show the public, which if he had it, given that he’s an ego driven megalomaniac, the public would definitely have seen.

          • Thorny_Insight@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            8 months ago

            Anyone capable of dispassionately studying this subject even one level deeper than the headlines can quite easily find a ton of sources proving he’s both personally involved in the design progress of these rockets as well as quite competent on many fields relating to it. It’s understandable that people hate him but spreading lies is where I draw the line.

            • yojimbo@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              8 months ago

              I would argue that anyone capable of dispassionately studying this subject can equally easily find that Elon Musk is not a reliable source of information (I’d dare say a liar) , eg:

              • the famous solar city presentation where Musk showcased several houses with solar tiles. The houses were a tv set for Desperate Hosewives, and tiles he was showing off simply didn’t exist. That can’t imagine a scenario where this could be an honest mistake.
              • the funding secured tweet from 2018 where he claimed he had enough money to take Tesla private at 420 USD / share. He got sued therefore we know he didn’t - even remotly.

              I don’t know whether Elon is a genius or not - but when somebody, who is proven to be somewhat creative with the truth, also claims that he is a genius - specially in the “I know more about manufacturing than anyone else alive” manner - I don’t think it is unreasonable to have doubts.

              • Thorny_Insight@lemm.ee
                link
                fedilink
                English
                arrow-up
                1
                ·
                8 months ago

                The discussion was about wether he’s personally involved in the design of the SpaceX rockets or not.

                He’s not designing the rockets, dude. He’s on ketamine posting rot about The Jews.

                This is what I’m arguing against.

                • yojimbo@sopuli.xyz
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  8 months ago

                  It’s understandable that people hate him but spreading lies is where I draw the line.

        • Flying Squid@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          8 months ago

          A bunch of ass-kissers and people who don’t work there think he’s an engineering genius are quoted in a Reddit post and you think it’s true.

        • Valmond@lemmy.mindoki.com
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          2
          ·
          8 months ago

          They had a whole group babysitting him into making the correct decisions. Just look at the design disaster that truck is, do you think he can find his behind with his both hands when it comes to space rockers?

          Lol

      • FaceDeer@kbin.social
        link
        fedilink
        arrow-up
        3
        arrow-down
        14
        ·
        8 months ago

        So doesn’t that make it even more reasonable to not constantly jump in with how awful Elon Musk is when discussing SpaceX’s rockets?