Hey, I have noticed that when browsing a GitHub repository it uses AJAX to load each folder / file.
I understand all this, I was just wondering how they altered the URL. Can you get and set the URL with JavaScript? If so it could be very useful for bookmarking a section of a JavaScript based website. ( a few pages within one, moved between with JavaScript )
Thanks.
It uses the new push/pop state functions in the history manipulation API.
They described this html5 functionality on their blog here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With