Reputation: 582
I know that changing the URL is possible, but I thought it is only allowed for the part behind the hash tag. (I am using it for ajax loaded content.)
Now I have seen some website are changing even the URL after the domain on sites that are not using the hash tag. Is this possible in all browsers? I read once that such a capability is proposed in some future html/js specifications but is still not approved.
Upvotes: 0
Views: 320
Reputation: 382112
They're using the history API :
https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history
That's common in ajax.
Beware that it's not really easy and painful to debug.
If you like, you can read the source of this one page site : http://dystroy.org/re7210/
Upvotes: 2