Skip to content

Comment on Screw Hashbangs: Building the Ultimate Infinite Scroll

Comments

After 2 years of reading Hacker News, I'm happy to finally have been able to contribute something to the discussion here.

To those who hate infinite scroll: I totally understand. I just wanted to try my hand at making a better version.

There's been some concern about my use of window.onpopstate to "un-add" the nodes infinite scroll added instead of just leaving the entire page for the referring page. I hadn't thought about the potential to essentially trap people on the page as they use the back button to navigate through the history stack their scrolling added. I really didn't mean to screw things up for people! I might want to remove that "feature".

Really nicely done, works wonderfully. Pity updating the address bar doesn't work in many browsers yet. One request: Could you try experimenting with deleting old pages when you scroll really far? Infinite scrolling takes a pretty heavy toll on my netbook.

I thought this was very well-written, thank you.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.