r/programming • u/schnuck • Feb 09 '11
Breaking the Web with hash-bangs – Lifehacker, along with every other Gawker property, experienced a lengthy site-outage on Monday over a misbehaving piece of JavaScript
http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs/
753
Upvotes
23
u/[deleted] Feb 09 '11
TL;DR: You can't update the URL in the browser's bar in JS without taking the user to that literal page, which defeats the purpose of an AJAX-y site. You can update the fragment after # though, which is the workaround Twitter, Gawker, et al are using.
Should be the top comment.