6

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
  • 25,706
  • 67
  • 182
  • 315

1 Answers1

4

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

Radu
  • 131
  • 3