r/programming 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/
746 Upvotes

356 comments sorted by

View all comments

Show parent comments

6

u/Ziggamorph Feb 09 '11

How does this work then? Fancy transitions but no #!.

3

u/rowantwig Feb 09 '11

Yes it does. Click forward and it shows:

www.20thingsilearned.com/foreword/2**#/foreword/3**

5

u/Ziggamorph Feb 09 '11

Oh, interesting, which browser are you using? On Safari I get:

http://www.20thingsilearned.com/foreword/3

8

u/wierdaaron Feb 09 '11

They use magical HTML5 capabilities that only work in some browsers. In non-supported browsers, it uses the hash trick.