Reputation: 21565
If you go to this site http://www.20thingsilearned.com/ in Google Chrome and change pages, it will change the URL displayed in the browser, but seemingly not actually navigate to another page.
Opening the site in Firefox just uses plain old hash URLs. What makes them able to do this in Chrome?
Upvotes: 9
Views: 1152
Reputation: 522195
They're using the new HTML5 history.pushState()
and history.replaceState()
methods.
Upvotes: 9