• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    299
    arrow-down
    1
    ·
    6 days ago

    If your website only works with Chrome, it’s not a website. It’s a Chrome site.

    You didn’t design for the web. You designed for Chrome.

    • BaroqueInMind@lemmy.one
      link
      fedilink
      arrow-up
      138
      arrow-down
      2
      ·
      6 days ago

      Fuck chrome. Such a dogshit unoptimized spyware browser that now disables ad-blocking plugins

      • Lena@gregtech.eu
        link
        fedilink
        English
        arrow-up
        39
        arrow-down
        3
        ·
        5 days ago

        I agree that Chrome fucking sucks, but it’s disingenuous to call it unoptimized. Chrome and chromium-based browsers are as fast as or faster than Firefox. Although I agree that manifest V3 is horrible to the web as a whole and shouldn’t have been created.

          • IronKrill@lemmy.ca
            link
            fedilink
            arrow-up
            4
            ·
            5 days ago

            *For a limited set of languages. Until they add Japanese I won’t be getting much use from it, sadly.

            • Redkey@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              5 days ago

              I use 10ten (previously Rikuchamp) for Japanese. I don’t think it does full translation, but it gives thorough dictionary lookups (from WWWJDIC) as mouseover tooltips. Very useful if you’re trying to learn the language, but maybe not so much if you just want to read stuff quickly. I think it’s now available for every major browser, but I mostly use it on FF.

          • spookex@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            5 days ago

            AFAIK the built-in translator doesn’t support Japanese, which is 99% of translation I need and the extension (which is what is was trying to use before) either requires you to select the text that you want to translate one-by-one or run the whole page through translate.google.com, which doesn’t work with any page that requires an account to access or triggers ddos protection on some others.

            • Gestrid@lemmy.ca
              link
              fedilink
              English
              arrow-up
              2
              ·
              5 days ago

              Yeah, I think Firefox’s translation feature is technically still in beta.

    • Lucidlethargy@sh.itjust.works
      link
      fedilink
      arrow-up
      32
      arrow-down
      2
      ·
      6 days ago

      Chrome is awful in nearly every way one can measure a browser. Anyone still using this as they’re main driver in 2025 is technologically challenged.

      • borari@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        31
        arrow-down
        1
        ·
        6 days ago

        It’s wild to see Chrome going from the browser to use if you had any tech sense whatsoever to being universally derided.

        • morrowind@lemmy.ml
          link
          fedilink
          arrow-up
          8
          arrow-down
          3
          ·
          5 days ago

          Universally derided

          lol try looking outside lemmy. 90% of people still just use it and don’t care

          • renzev@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 days ago

            At least in my country, google is going balls-to-the-walls mode with the chrome psyop. Like every third ad on youtube is an ad for chrome. And if you’re a little older, you’ll remember their countless other ad campaigns that propelled chrome into the mainstream. The only reason so many people use chrome is because they’re brainwashed into it.

  • AeonFelis@lemmy.world
    link
    fedilink
    English
    arrow-up
    72
    ·
    5 days ago

    My website only works with Chrome, but it has to be a specific old version of it. And you also need to install some extensions. Very specific versions of these extensions. Few of them already removed from the store due to security backdoors.

    I have a Docker image you can use to run Chrome though.

  • Xylight@lemm.ee
    link
    fedilink
    arrow-up
    33
    ·
    5 days ago

    When developing photon I always end up with more issues on chrome browsers than firefox. and half of those are because of its god awful scrollbar. Please use an overlay scrollbar instead of shifting the stupid page around, chrome.

  • wowwoweowza@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    5 days ago

    Greatest format ever. I present you with the Demi-God of memes award for best use of THEY LIVE if you originated the template. If you did not originate you get the cool assed dude award for sharing. Many thanks.

    • luciole (he/him)@beehaw.org
      link
      fedilink
      arrow-up
      11
      ·
      5 days ago

      I agree with you that failing to support multiple browsers is an old problem, but I think the cause has shifted.

      Back in the last century, supporting both browsers amounted to sniffing the browser and implementing the same feature twice. document.layers vs document.all for example.

      Nowadays I think the problem is different: we just don’t know what’s going on. The site is transpiled from TypeScript, written on top of React or Vue which drastically switches paradigm (bonus for Tailwind), packed with building tools, and the average dev has little understanding of what actually comes out. It’s a tall stack of leaky abstractions on top of the already tall one of the web. The dev is pretty sure it works on Chrome so they say it does work there, but it was not even a deliberate choice.

      • sunbeam60@lemmy.one
        link
        fedilink
        arrow-up
        4
        ·
        5 days ago

        For most sites it’s a testing matrix issue. Most testing teams look at browser stats and choose how to apply their limited resources based on that. So the dev probably doesn’t even see the bug that exists for an old Firefox version as there’s no testing done on it.

  • BroBot9000@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    6 days ago

    I’m going to have to go down the rabbit hole of making my own website soon. Just curious but would there be an easy way to show a pop up just to people using chrome?

    No reason in particular… 😏

    • ‮redirtSdeR@lemmy.world
      link
      fedilink
      English
      arrow-up
      17
      ·
      5 days ago

      lol i did something like what i assume your goal is on my neocities when i detect !!window.chrome === true

        • rektdeckard@lemmy.world
          link
          fedilink
          arrow-up
          11
          ·
          5 days ago

          It’s a handy way to convert any value to a Boolean. If window.chrome is defined and done non-empty value, double negation turns it into just true.

          • Faresh@lemmy.ml
            link
            fedilink
            English
            arrow-up
            6
            ·
            5 days ago

            I’ve been wondering why not window.chrome == true or Boolean(window.chrome), but it turns out that the former doesn’t work and that == has essentially no use unless you remember some completely arbitrary rules, and that JS developers would complain that the latter is too long given the fact that I’ve seen javascript code using !0 for true and !1 for false, instead of just true and false because they can save 2 to 3 characters that way.

            • marcos@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              5 days ago

              == has essentially no use unless you remember some completely arbitrary rules

              If you make sure the types match, like by explicitly converting things on the same line on that example, then you can use it just like if it was ===.

              In fact, there are people that defend that if your code behaves differently when you switch those two operators, your code is wrong. (Personally, I defend that JS it a pile of dogshit, and you should avoid going to dig there.)

    • Supervisor194@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      6 days ago

      Not sure if serious, but there’s a million ways to do this, some that require importing thousands of lines of code and none of which are guaranteed to work in all possible circumstances. But here’s a simple one.

        • umbraroze@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          Well, some browsers have made User-Agent strings useless. Technically, it’s like this:

          Firefox: “Mozilla based browser, Gecko engine, Firefox.”

          Chromium: “We’re totally a Mozilla based browser we swear. Also KHTML, which is like Gecko basically. I guess also a bit like WebKit. Has anyone ever heard of those? No? OK. Fine, here’s some actual information then…”

    • towerful@programming.dev
      link
      fedilink
      arrow-up
      8
      ·
      5 days ago

      Is that http2? Cause http2 allows for reuse of a connection for additional requests.

      This caught me out with envoy reverse proxy doing a few subdomains using a wildcard cert.
      The browser would reuse the connection cause the cert authority and IP was the same, but envoy couldn’t figure out how to route the request correctly. Absolute head scratcher!