如何Facebook的更改URL无需重新加载页面? [英] how does Facebook change the url without reloading the page?
问题描述
可能重复:
<一href="http://stackoverflow.com/questions/3997181/how-could-i-change-windows-location-without-reloading-and-hack">How我可以改变窗口的位置,无需重新加载和#破解?
Facebook和阿贾克斯
Possible Duplicate:
How could I change window's location without reloading and # hack?
Facebook and Ajax
如何Facebook的更改URL无需重新加载页面?
How does Facebook change the url without reloading the page?
此前Facebook的使用的哈希(#),以prevent从重装每次有新数据必须加载网页,但现在是一个天的Facebook改变整个网址?如何在 beeep 这可能吗?
Earlier facebook used the hash (#) to prevent the page from reloading each time new data had to load, but now a days Facebook change the whole url?! How the beeep is that possible?
推荐答案
他们正在使用的历史API 。 你可以找到一些演示中的MDN了。
They're using the History API. You can find some more demos at MDN too.
这篇关于如何Facebook的更改URL无需重新加载页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!