Skip to content

Instantly share code, notes, and snippets.

@brianarn
Created March 31, 2010 16:34
Show Gist options
  • Save brianarn/350541 to your computer and use it in GitHub Desktop.
Save brianarn/350541 to your computer and use it in GitHub Desktop.
/**
* MooCrash
* A MooTools plugin to crash IE6
* v0.0.1
*
* Licensed under MIT license, so, y'know, feel free to take it
* http://www.opensource.org/licenses/mit-license.php
* Inspired by jQuery Crash, written because @jsconf asked for it
*
* Extending Browser, since that seems to be the right place for it.
* Usages:
* Browser.Crash();
* new Browser.Crash();
*
* This is untested as I don't have IE6 at my side, but I suspect it'd work.
* Let me know if it does!
**/
Browser.Crash = new Class({
initialize: function() { for(x in document.open); }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment