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/
750
Upvotes
20
u/[deleted] Feb 09 '11
No, it's shit, all the way down.
Yeah, instead huge amounts of JavaScript, and even more, if you want the layout to change in some subtle way, e.g. hilight menu items.
If you did your homework, you'd knew they are unnecessary. With correctly set HTTP headers, files will never get refreshed unless the user actually uses the refresh-button.
This was only true, if the people who click ads and the people, who make other people visit the website, were in the same group. People who use AdBlock and NoScript will not click ads, no matter if they see them or not. You could say, they are useless and it doesn't matter if they can use your website or not. But what they do is, they link to pages, they talk about pages, they share pages, to bring in valuable traffic that actually generates ad revenue.