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

Please stop encouraging people to use infinite scroll, it is a scourge to be eradicated.

In any case you think infinite scroll would be useful, what you really want is a link at the bottom of the page that says "elements per page: 25 | 50 | 250 | unlimited". Infinite scroll makes it painful to reach the end of a large list on a machine with low memory. It deprives the user of the ability to record your place in the list if you want to come back tomorrow (or switch to another device or restart your computer etc. etc.), or send a link to someone else. It breaks the web.




It deprives the user of the ability to record your place in the list if you want to come back tomorrow (or switch to another device or restart your computer etc. etc.), or send a link to someone else.

Technically, you can use history.pushState & replaceState to automatically update the URL to the current position without having to reload the page. Demo: http://scrollsample.appspot.com/items




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

Search: