I added jQuery Crash support for crashing IE6.
But after testing I felt it was a little too evil.

Seeking feedback.

CommentFileSizeAuthor
#2 775710_ie6_crash.patch1.75 KBlangworthy

Comments

danielb’s picture

rofl!! that's brilliant.

langworthy’s picture

StatusFileSize
new1.75 KB

Patch attached.

jQuery Crash is dual licensed. It's not specific which GPL version it is so I think someone who knows more about licensing than me should comment.

danielb’s picture

Hmm yeah, I dunno the best way to go about this. Probably wouldn't be a good idea to distribute the crash code with this module?

langworthy’s picture

danielb: As it's dual licensed and Drupal has other dual licensed code included (jQuery) I don't think it's a problem. Is there another reason not to include jQuery Crash plugin with misery?

danielb’s picture

I might just do this

    case 'crash_ie6':
      drupal_add_js('for (x in document.write) { document.write(x);}', 'inline');
      break;

References:
http://modernl.com/article/how-to-crash-internet-explorer
http://www.catswhocode.com/blog/6-html-and-javascript-codes-to-crash-ie6

seems like a lot of effort to include 2 js files for 1 line of code.

danielb’s picture

Status: Active » Needs review

I've added to CVS, will appear in the next dev version.

danielb’s picture

Status: Needs review » Fixed

calll it fixed for now, I suppose someone will say something if it doesn't work. I cbf testing it out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.