3 ms·
Please do not hijack the back button. Your website should send a 307 Temporary Redirect to HN, so when I go back, I return to where I was, instead of being sen
by sph 3y ago
Please do not hijack the back button.
Your website should send a 307 Temporary Redirect to HN, so when I go back, I return to where I was, instead of being sent to another random day.
If it is done on the client, look into `window.location.replace`: https://developer.mozilla.org/en-US/docs/Web/API/Location/replace https://developer.mozilla.org/en-US/docs/Web/API/Location/re...
- sneela 3y agoIt's incredibly annoying when this isn't taken care of. Alt + Left Arrow becomes impossible to use and I have to resort to using my mouse. Don't Microsoft's support pages [1] do this as well? I just checked with a random support page [2] and it looks like the middle redirection url is the same. Is that a different thing? [1] support.microsoft.com [2] https://support.microsoft.com/en-us/windows/fix-file-explorer-if-it-won-t-open-or-start-ce614e06-be97-fe4a-a7ce-d6bf13a8cb98 https://support.microsoft.com/en-us/windows/fix-file-explore... (Firefox if that matters. Currently on Linux, has happened on Windows) Edit: I just checked on Ungoogled Chromium and it looks like this (the microsoft support) isn't an issue. It's only on Firefox. That's bizarre.
- hunter2_ 3y agoNo issue on my end. Is it already fixed, or does Android Chrome just overcome poor implementations?
- sneela 3y agoLooks like it's a firefox thing. I tested in Ungoogled Chromium and it works fine for me too.
- garyfirestorm 3y agoCan confirm this behavior on iPhone 15 pro max safari ios 17.3