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?

2

1 Answer 1

4

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.