javascript - Updating address bar with new URL without hash or reloading the page

javascript - Updating address bar with new URL without hash or reloading the page

Code Samples

55 лет назад

695 Просмотров

#short
#javascript
#ajax
#google-chrome
I either dreamt about chrome (dev channel) implementing a way to update the address bar via javascript (the path, not domain) without reloading the page or they really have done this.
However, I can't find the article I think I read.
Am I crazy or is there a way to do this (in Chrome)?
p.s. I'm not talking about window.location.hash, et al. If the above exists the answer to this question will be untrue.
HTML5: Changing the browser-URL without refreshing page: http://spoiledmilk.com/blog/html5-changing-the-browser-url-without-refreshing-page/
see the MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/History_API
Modify the URL without reloading the page: https://stackoverflow.com/questions/824349/modify-the-url-without-reloading-the-page/3354511#3354511
Ссылки и html тэги не поддерживаются


Комментарии: