Hacker News new | ask | show | jobs
by codazoda 1112 days ago
I'm surprised to see this from Instructables (Autodesk). If you right-click the back button you'll see that it did four redirects and you can click the 5th to get back.

I highly doubt this is effective at anything.

2 comments

Why do browsers even allow this behavior? The back button should automatically skip any blind redirects.
It's not the back button, but these two otherwise useful APIs used in a malicious way together:

https://developer.mozilla.org/en-US/docs/Web/API/Window/befo...

https://developer.mozilla.org/en-US/docs/Web/API/Location/hr...

because Single-Page-Applications

they want the back button work with app internal state changes

Single page apps don't require a frontend router and the same can be achieved by unconditionally sending a redirect from the server side for any request as long as you also hook into the "beforeunload" event in the browser.
Instructables went down the pan years ago when they tried to paywall the allsteps view.

Autodesk as a company are known for shitty behaviour, so it doesn't surprise me they made it worse.