alt text

Caption

Web dev: What browser is visiting the page?

User agent string:

A screenshot of a browser. The URL bar reads firefox://settings, a button on the URL bar is labelled Netscape, a popup from the button reads: “You’re viewing a secure Opera page”, and the web page title reads “Chrome settings”.

  • @Quacksalber@sh.itjust.works
    link
    fedilink
    163 months ago

    Youtube currently (for weeks now) does not work on Firefox, if you don’t use a Firefox user agent. Google doing sketchy things again.

        • Carighan Maconar
          link
          fedilink
          0
          edit-2
          3 months ago

          So you don’t use Firefox, you mess with Firefox. That’s on you then. Devs can’t be held responsible for you intentionally breaking things. Only do what you know works.

        • Carighan Maconar
          link
          fedilink
          63 months ago

          Both. I use YT on Firefox constantly, and I just explicitly tried again with a swapped user agent, and there’s no issues at all, works perfectly as expected. I saw from your other reply that you use a fairly involved and heavily modifying expansion, not just a user agent switcher.

          If you try to “harden” your FF, always keep in mind that a large portion of that means absolutely breaking things left and right and center. It might work, but always expect it will not. Because it’s just not something anybody would ever test for when creating web pages. So you’re running essentially unknown scenarios. It might be interesting input to the extension-author that this breaks, though. It might be something they think they got working. Of course, it could also be that it’s “Yeah that happens, it’s intentional”. But might as well report it to them.