5

Possible Duplicate:
How could I change window's location without reloading and # hack?
Facebook and Ajax

How does Facebook change the url without reloading the page?

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?

Community
  • 1
  • 1
clarkk
  • 24,753
  • 63
  • 173
  • 296

1 Answers1

3

They're using the History API. You can find some more demos at MDN too.

Radu
  • 121
  • 3