• Sophia@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    Slightly off topic but is there a smart person out there that can explain why having dark mode on makes this website think I’m from “hacker news” and block me (I didn’t even know what hacker news was before today). I’m not a web developer and just genuinely curious how dark mode users get lumped together with an entire website I’ve never heard of before.

    • kopper [they/them]@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      1 year ago

      they’re using css :visited trickery and color filters to detect HN users because HN has been explicitly evading any other way of detecting referrers coming from them (instead of solving the moderation problems being mentioned)

      using dark mode messes with the colors which makes the text that’s supposed to be invisible, visible

      • stown@sedd.it
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        2
        ·
        edit-2
        1 year ago

        I’m using a web app (brave mobile browser) to view Lemmy. Android is set to dark mode and all the apps respect that setting. I have never visited Hacker News with this browser.

        That being said: why the fuck would Asahi go with a Red Hat distribution!?

        EDIT: found the setting that was causing the problem: “night mode” was activated by default on Brave.

        • joojmachine@lemmy.ml
          link
          fedilink
          arrow-up
          9
          arrow-down
          1
          ·
          1 year ago

          why the fuck would Asahi go with a Red Hat distribution!?

          Because it isn’t? community distro with RH sponsorship != RH distro

          And to answer the question, because we asked and because we have the infrastructure to better support their project in a way they only need to focus on development, it’s literally written in the blog post.

          • stown@sedd.it
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            1 year ago

            Excuse my misunderstanding. I thought that Fedora was based on RHEL and didn’t realize the reality was closer to being exactly the opposite.

    • lockhart@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      I don’t think it’s triggered by having dark mode on. I have dark mode on and I’m not seeing it.

      • Sophia@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        I’d agree but the message on the website specifies it’s triggered by hacker news AND dark mode. I’m on iOS with the Noir extension for my browser so perhaps whatever dark mode method you’re using isn’t detected the same way.

          • Sophia@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            1 year ago

            I have AdGuard premium but it’s definitely caused by Noir. I can toggle it on and off while on the website and it changes from warning me about hacker news to the actual website in real time.

      • stown@sedd.it
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        Im not sure which browser you use but Brave on Android had a setting called “night mode” that was turned on by default. Turning it off fixed the problem.