Posts tagged: pushstate
As much as I love tumblr’s auto pagination, of of the big gripes I have with it is that after a while of scrolling it becomes absolutely deadly to mistakenly click on a link that makes the browser leave the page. Because all that content was loaded with Ajax, there’s no way of getting back to where you were except to repeat the scrolling orgy again.
My Extension fixes this by using the pushState-API to update the browser location with the current page while you scroll. When you leave the page, you can hit back and continue where you left instead of having to scroll there again.