The change in the browser address bar?

The article the method changes the browser address bar using anchor( anchor #).

Recently, I saw that on the websites:,,...

at the moment navigation through folders

the address bar of the browser changes without anchors.

How the creators of these sites, did that happen?
October 8th 19 at 01:44
4 answers
October 8th 19 at 01:46
October 8th 19 at 01:48
October 8th 19 at 01:50
The links in the answers already given, I shall only add keywords to gugleniya (taken ibid.).
HTML5 History/State APIs.
October 8th 19 at 01:52
Then watch this, makes working with the browser history. There is support for multiple libraries. For older browsers that don't support History API, there is imitation through the anchor.

Find more questions by tags BrowsersJavaScript