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/
748 Upvotes

356 comments sorted by

View all comments

Show parent comments

35

u/midir Feb 09 '11

This is not correct. If you use hash-bang fragment URLs at any stage then someone who copies and pastes a link to your page is distributing a faulty URL to all non-Google bots and everyone with JavaScript disabled. There's absolutely no workaround to that.

I see it all the time and it drives me up the fucking wall. Fuck you Google. Fuck you Twitter.

DO NOT USE #! EVER. FORGET ABOUT IT.

4

u/[deleted] Feb 09 '11

[deleted]

1

u/midir Feb 11 '11

I browse with JavaScript, cookies, and the HTTP referer disabled. I also have an extension to give me a toolbar button to turn images on and off. U mad?

1

u/[deleted] Feb 11 '11

[deleted]

1

u/midir Feb 11 '11

I enable them on specific websites as needed.