I managed to crash my Firefox repeatedly, by doing a massive DOM insertion of approximately 10,000+ elements.
Basically, the user clicks a button to trigger an jQuery AJAX call. The call would return a full HTML file, which would be appended to a specific div with jQuery.
<script>
$("div.content").empty();
$("div.content").html(data);
</script>
Then once the data was added it would attempt to parse that entire muck of data and add onClick and onHover events to basically every element in the tree.
Rest assured, every time I ran this function, my browser crashed. It would bring up the usual "a script is running slowly do you want to cancel it", but I could never cancel it, and always had to CTRL+ALT+DEL it.
Just FYI, I never planned on doing a 10,000 element insertion it was an error on my part. I was querying a database with a JOIN and meant to do SELECT DISTINCT, and instead did SELECT so instead of returning 100 elements, I returned 10,000 due to the joins. Whoops.