I’ve mentioned Pony Foo before but didn’t realize the author is the same as that for Taunus, an “isomorphic” framework focused on progressive enhancement.
First I tried it out with JavaScript disabled, and it works. Then I enabled JavaScript, and it mostly works as expected. Clicking a link goes to a new page, updates the URL, and the back button goes back.
Kind of.
As with many sites that hijack the history, scroll position is lost when you navigate with JavaScript enabled. “Not breaking the back button” is about more than just updating the URL; it’s about not breaking expectations.