HTML History API can do this.
history.pushState({data: "foo"}, "SubPage", "http://www.example.com/sub")
You can kind-of use History JS to shim it in for the older browsers (it will fake it with hash links in non-compliant browsers).
Solution
HTML History API can do this.
history.pushState({data: "foo"}, "SubPage", "http://www.example.com/sub")
You can kind-of use History JS to shim it in for the older browsers (it will fake it with hash links in non-compliant browsers).