Skip to content

Instantly share code, notes, and snippets.

@lrvick
Created January 28, 2015 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrvick/08b6961c3452d9699f1f to your computer and use it in GitHub Desktop.
Save lrvick/08b6961c3452d9699f1f to your computer and use it in GitHub Desktop.
Little example that consistently crashes Firefox. This is why it makes more sense to do one process per tab.
<html>
<body>
<a href="#" onclick="die()">click me!</a>
<script>
function die () {
setTimeout(function () {die(); die()}, 0)
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment