Monday, August 6, 2007

One-liner to crash IE6

A Japanese fellow going by the name Hamachiya2 has stumbled upon one line of HTML/CSS code that crashes IE6. The magic line is:


You can try it yourself at:

Of course, if you are running IE6 or anything that embeds IE6 as a component, you can expect it to crash. All other browsers appear to render the code just fine.

I think I may have just found a new signature. :)

Update 2007/08/07 01:16pm:
Zeth wrote in that he noticed that IE7 pukes on the same line of HTML; it just waits until you try to visit a different page before it crashes.


Zeth said...

What a find! I must start reading Japanese blogs more often!

It works in IE7 too, here is the proof.

Anonymous said...

I've had a email signature for a long while that at least to crash Outlook (just by including the few bytes in the message):

>IMG SRC="c:\con\con"<

I have no idea if it still works (it was years ago.

I also have scattered through my site an equally old ie-crash.html that contains just:

>html<>form<>input type crash<>/form<>/html<

Again, years old, dunno the current status.

Anonymous said...

Aaghh... reversed my less-than and greater-than escapes. S.B.

<IMG SRC="c:\con\con">

<html><form><input type crash></form></html>