News for hackers. Stuff that matters.
Re:Tab Unloading in Firefox 93 by remram on Tuesday October 05, 2021 @04:59PM (#28765541)
My number one annoyance (with Firefox and Auto-Discard extension) is when I open back my tab and get a redirection to some login page. Login, get sent to homepage. Back button sends me to login page. No way to get back to the actual tab I'd left there...

That tab is then lost forever, unless I can find it in the history from whenever I had opened the tab.

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.
Re:Tab Unloading in Firefox 93 by remram on Tuesday October 05, 2021 @08:15PM (#28767505)
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.

Re:Tab Unloading in Firefox 93 by mmis1000 on Tuesday October 05, 2021 @09:42PM (#28768190)
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.
Re:Tab Unloading in Firefox 93 by progval on Tuesday October 05, 2021 @05:05PM (#28765628)
Long-click the back button to get a list of previous pages in the tab.
Re:Tab Unloading in Firefox 93 by Avery3R on Tuesday October 05, 2021 @05:52PM (#28766144)
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.

Re:Tab Unloading in Firefox 93 by smichel17 on Wednesday October 06, 2021 @07:44AM (#28771910)
You can do the same thing with right click :)
Re:Tab Unloading in Firefox 93 by remram on Tuesday October 05, 2021 @06:35PM (#28766596)
It's not there. It's like the redirect replaces the history entry.