Hacker News.

Twitch continues to deteriorate as a platform because what do you mean I can’t TAB OUT TO MY SECOND MONITOR DURING THE AD BREAK

I NEED TO FOCUS THE TAB AND THE WINDOW FOR THE AD TO PLAY???

X/Twitter.

    • dreadbeef@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      19 hours ago

      there are many ways of detecting minimized/inactive or not. You can do setInterval throttle detection when browsers slow down JS in inactive tabs for performance reasons.

    • Potatar@lemmy.world
      link
      fedilink
      arrow-up
      22
      ·
      1 day ago

      I need everyone to look at what you can do with HTML5 “game engines”. You want mouse poisiton? You want to know if the mouse is in on the page or not? Internet speed? Audio card codec?

      If a 13 years old using the free version of construct3 can do it, capitalism can do it.

        • Zink@programming.dev
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          While it may be true that capitalism messes with all of them to some extent, I think there’s still a pretty wide chasm between a Firefox fork like LibreWolf or WaterFox versus just using a default install of Chrome or Edge.

          • Prince Aster [He/They/Zir]@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            22 hours ago

            Forks are great, they can fix and change small stuff, but for bigger things like Manifest or engine level changes it’s an uphill battle because those change the developer ecosystem and momentum, and changing those to your liking is possible, but most developers aren’t going to take advantage of them.

    • Prince Aster [He/They/Zir]@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      Because Browsers are corporate-built garbage which are designed with corporate interests in mind, same reason they choose to send good fingerprinting canvas data instead of sending randomized garbage every new session.

    • Echo Dot@feddit.uk
      link
      fedilink
      arrow-up
      4
      ·
      1 day ago

      It’s been a standard feature for a very long time I’m kind of surprised they’ve only just started making use of it but this kind of thing.

      A lot of sites that play sounds will stop when you tap out of them otherwise they’re just plain sounds in the background and that’s kind of annoying.

      • Fiery@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 day ago

        And it’s not a bad feature to have for the functionality of some sites. It’s just that as with any feature/rule/etc it can be abused. So a toggle like (according to a comment above) some plugins add is an unfortunate necessity.