6 comments

[ 3.2 ms ] story [ 28.4 ms ] thread
Goodbye, back button. Goodbye, history.
Thanks for pointing this out. I hadn't realized that it does this. I'm thinking of a way to fix it. I appreciate the feedback.
I made something similar for wordpress: https://github.com/zackify/WProgress I was going to add a bookmarking feature. To fix your problem just store the scroll position in localstorage?
that seems like the right direction to take it - make the position as transparent to the user as possible.
Thanks. I'll take a look. I think localstorage would solve the problem of keeping your place on a single computer, but it wouldn't allow you to bookmark it on your PC, and return on your phone to the same spot for example.
I've changed the way that bookmarks are handled. It now waits until an element is clicked before updating the hash in the URL. Once that has been done, the page (and position on the page) can be bookmarked/shared/etc.