Submit your breaking news stories and original articles to us by contacting us
In memory of (the nearly dead) Internet Explorer 6 comes this nifty little piece of JavaScript that will wreak havoc with your web page, turning it into a pile of unreadable junk that even Steve Ballmer would be proud of.
The IE6IFY site proudly proclaims: “After years of observation and reverse engineering I am proud to say I have been able to reproduce the IE6 algorithm to break even the most standards-compliant websites.”
Before I show you the results, here’s the piece of code that does the damage:
javascript:(function(){var i=0,r=function(n){return Math.floor(Math.random()*n)},f=document.getElementsByTagName('body')[0].getElementsByTagName('*'),o=function(e){return typeof(e.style)=='object'&&e.tagName!='SCRIPT'},s=function(){while(!o(e=f[r(f.length)])){}return e.style};while(i++<5){s().display=r(2)?'block':'inline';s().position=r(2)?'absolute':'relative';s().margin=r(2)?'0':'1em';s().padding=r(2)?'0':'1em';s().width=r(2)?'':'auto';}})();
Whack that into your browser's toolbar and then hit it repeatedly when viewing your (least) favorite web site.
Here's what happens to Forever Geek:
And Gadzooki:
And of course Microsoft can't be allowed to get away with it:
Anyone tried it in IE6?
The Totally Rad Show
Microsoft releases first beta of Internet Explorer 8
Internet Explorer 8 to be standards compliant
Ten Good Practices for Writing JavaScript in 2005
gVisit: Mapping Visitors
Forever Geek is a resource for all things geek. You can stay tuned by having the latest FG news delivered to you for free via RSS.
Category: Hacks, Software
Tags: bork, hack, ie6, ie6ify, javascript, Microsoft, standards

Netbooks and User Satisfaction: It’s All About Expectations
10 Cool Sony Walkman photos – celebrate Walkman’s 30th birthday
One Response for "IE6IFY and totally bork your website"
August 6th, 2009 at 2:20 pm
1Just to note (after having fun with script in IE8) that IE6 is in fact last (sort of) surviving browser of “WILD INTERNET” era.
Of course those who saw it back tehn know that standards were not observed by any major browser and they added a lot of proprietary tags and average website code was a mess… (I have seen examples and I got there quite late.)
RSS feed for comments on this post · TrackBack URI
Leave a reply