7
Lensflare
18h

One of our internal web apps stops loading the content when you switch to another tab.

How do you even implement horse shit like that?

I think you‘d have trouble to implement it even if it was a requirement. Fucking how?

Anyway, if you want to spend the long ass loading time by doing something else in another tab, then no!

Tough luck motherfucker!
You‘ll be watching that loading spinner like the rest of the thousands of users daily!
It‘s doing hard work loading all that crap for the convoluted clusterfuck of a web app!
You better appreciate that and watch it loading!
🤡

Comments
  • 2
    Should I tell you the secret on how to share 1 websocket between all your sites tabs? It will involve web workers
  • 2
    @BordedDev Yea I was about to say "websockets" but you beat me to it.

    The modern web needs to die in a fire and Brendan Eich needs to apologize to the world for inventing Javascript.
  • 1
    @BordedDev are you saying that this is responsible for that issue with the loading stopping?
  • 1
    @djsumdog amen

    But the inventor of js is just another victim of this clown show.

    He was forced to make a language for the browser which looks like Java.

    The fuckers who took that dumpster fire and started to (ab)use it everywhere, are the ones to blame.
    Including the ones who keep this shit train going.
  • 2
    @Lensflare No, that's probably someone trying to be "smart" and stopping requests when the page has lost focus (I think SWR for react does something similar, but it re-requests on focus gain) - I've actually installed a plugin that prevents these checks because there are other sites that do that as well (at least I think I did at some point, was one of those privacy one).

    The browser can choose to throttle/suspend a websocket though
  • 1
    Fuck web http shit, the only real thing is desktop apps.
  • 2
    Tf man, this is like reading Palpatine. LOL

    But yeah.. stop loading upon tab switch seems counterintuitive to the web.
  • 1
    It needs to be a PWA where you’re in manual control of the cache and you need to add an event listener to the onblur of the window to halt all my resource loading when the window is out of focus

    Is my guess. I haven’t googled it…
  • 2
    I think some smart ass deliberately made it work like this. I can't see how is this happening out of the box.
  • 0
    @daniel-wu I think so too. I just don’t know why. It doesn’t make sense.
Add Comment