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?














Just 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.)