Hacker News new | past | comments | ask | show | jobs | submit login

Slightly OT: is that what a 'Discourse' page looks like? It's pretty awful: it will automatically update the URL as you scroll past each post in any direction, while breaking the Back button, so good luck getting back to the original post, since neither clicking on Back nor reloading the page will get you there. Basic UX failure.



What browser are you using? Because when I scroll on that page and the URL changes, it doesn't affect my Back stack (this is in Safari).


Using Firefox for Android.

I can't not notice the irony that this is happening with FF on the mozilla.org Web site.


That's the behavior I see using Firefox.


It looks like a feature to me : this way when you copy the address it links directly to the right comment. Of course this comes at the expense of a working back button.


The page is using Location.replace[0] to update the URL and replaces the current history entry without affecting back/forward behavior on pretty much any browser.

The one downside is that the URL may no longer point to the comment you were originally linked to.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Location/re...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: