Familien Schøler's blog

Lidt af hvert – blogbart eller ej, så er der en lille risiko for at du finder det her

IE6 bug-me-not script

“I don’t care why it works. This is the best IE6 compatibility fix ever.” (læs hele artiklen + kommentarer, klik på citatet)

Afgjort ugens sjoveste og mest indsigtsfulde kommentar, som jeg er faldet over i hvert fald.

  1. /**
  2.  * jQuery Crash (http://mktgdept.com/jquery-crash)
  3.  * A jQuery plugin to crash IE6.
  4.  *
  5.  * v0.0.2 – 5 March 2010
  6.  *
  7.  * Copyright (c) 2009 Chad Smith (http://twitter.com/chadsmith)
  8.  * Dual licensed under the MIT and GPL licenses.
  9.  * http://www.opensource.org/licenses/mit-license.php
  10.  * http://www.opensource.org/licenses/gpl-license.php
  11.  *
  12.  * Use $.crash();
  13.  *
  14.  **/
  15. ;jQuery.crash=function(x){for(x in document.open);};

Script source

Anti IE6 logo

Send en kommentar