Hacker News new | ask | show | jobs
by cjstewart88 3887 days ago
The back buttons broken :[
2 comments

It's not exactly 'broken'. When you go to the home page it geolocates you, and then forwards you to the correct home page for your location. Admittedly it then makes it feel a bit broken...
Putting my browser in a state where the back button doesn't let me leave the site is the definition of breaking the back button. Worse than those back button pop-ups that only fire once (this is like a popup that fires every time). Definitely check out window.history.replaceState as mh- suggests.
It should be fixed now.
use window.history.replaceState to redirect them instead, it'll replace the original entry in the browser history and avoid that problem.
It should be fixed now. Can you check?