Re:Tab Unloading in Firefox 93
by jodrellblank on Tuesday October 05, 2021 @07:05PM
(#28766870)
Two web apps I use every day at work have this behaviour when I look away and my session times out. Both of them break web expectations by having the same generic URL for every page. I leave half a dozen tabs open, come back later or the next day and if I'm not careful to login again in a new tab before I refresh them, they're lost. It's the kind of thing which makes me convinced the developers never use their own system, never sit with real users, and think a lot less of the vendor even though I have no power to influence the decision to renew them or not.
I think one problem of JavaScript routing is that it needs two groups of people to communicate for it to work: the ops people configuring nginx/CDN need to talk with the JavaScript devs making the SPA. Worse, if they get it wrong it will break in subtle ways (e.g. appear to work unless you reload of share a direct link).
A recipe for disaster.
That happens because someone use js to redirect and didn't use history.replace in the js redirection page to remove the redirection page from history. End up leaving the redirection page in the history. And cause the back button broken.
Long-click the back button to get a list of previous pages in the tab.
Right click for people with real mice
Re:Tab Unloading in Firefox 93
by still_grokking on Tuesday October 05, 2021 @08:51PM
(#28767758)
I have a real mouse. I didn't know that until yet!
The long click has still the advantage that you don't need to click more than once: You can just hold the button, mouse-over the wanted entry, and than release the button triggering navigation to the history entry currently under the cursor.
You can do the same thing with right click :)
That tab is then lost forever, unless I can find it in the history from whenever I had opened the tab.