How does VKontakte change the url without reloading the page?

Asked byavraham

Vkontakte when clicking on the links, the URL changes (not the hash, but the URL itself). At the same time, the page does not reload (for example, the player, if it is running, continues to play wherever we go).

Can someone explain how this magic is done?
Thanks

Answers

christiemanganis
Search did not try?
 habrahabr.ru/qa/6436/
Replies:
Yes, it was possible to search, really ... - aoibheann
jane o brien
This does not work in all browsers.
 javascript:history.pushState({}, '', '/page/');
Replies:
Sorry. But thanks, keep the bun - sarah strohl brown
merri
I don’t sit at the bottom of the page, but I can assume that you use sly js + ajax.
Replies:
“I don't sit on VKontakte” of course. - jack bean
was sealed up. And ajax is not js in its essence? - joe church
yes, but I'm used to specifying about ajax - rick smith
MySQL client for Mac :: How to use VDSku with benefit? :: Haskell and static linking of modules? :: Autoscrolling in Visual Studio :: How to find or make a & quot; water cut & quot ;?
Leave Repply forHow does VKontakte change the url without reloading the page?
Useful Links