Remix.run Logo
junon 5 days ago

> Maybe it’s for for analytics or even auto-logout when they leave the website.

Yeah, don't do either of these things. Don't log me out when I close the tab. Don't spy on me after I close the tab.

Very simple!

hdjrudni 4 days ago | parent | next [-]

> Don't log me out when I close the tab.

What about being logged out of a real-time chat with your friend? Wouldn't you like them to know you are no longer connected? Or do you prefer to trick them with a little green 'connected' bubble that can no longer update?

afavour 5 days ago | parent | prev [-]

> Don't spy on me after I close the tab.

Maybe a small nit but it isn't spying on you after you close the tab. It is spying on you the moment you close the tab and no later.

junon 5 days ago | parent | next [-]

If it's performing a request upon closing the tab, only two options are available:

1. it delays closing until it completes, which is a performance hit, or

2. it's performing more website specific background work when I've told the browser not to by hitting the Close Tab button.

subscribed 5 days ago | parent [-]

Interrupt the request, clean up after the tab.

That's all. The second option is garbage collector. Not sure why the website is entitled to execute any code when I decided to close it.

01HNNWZ0MV43FF 5 days ago | parent | prev [-]

Don't spy on me