Re:Breaking the web with hash-bangs
by gnubardt on Wednesday February 09, 2011 @10:18AM
(#2197643)
history.pushState() and history.replaceState() are introduced in the html 5 spec, so not all browsers support it yet.
[ Parent
| on HN ]
Test for the API and fall back to the hashbangs if it isn't available. Check out this example in an old browser and a modern one:
http://www.asual.com/jquery/address/samples/express/portfoli...
My point was the degradation to hashbang (which is what most users are going to see) is absolutely horrid, to the point that I would actively avoid it.
You're concerned about /content/123/#!/content/456/, right?
Well, if the client isn't modern, 301 them to #!/content/456/ and proceed as you would.
Either way though, all this is terrible for a blog, or even Twitter.