Andrea Giammarchi had a interesting article which stated you can detect IE in 32 bytes of code. I wondered if this could be improved, after a few failed attempts I found this to be the smallest and fastest way:- IE=’\v’==’v’ Pretty cool eh?
Javascript blog with messed up syntax inside
Wednesday, 28 January 2009
Andrea Giammarchi had a interesting article which stated you can detect IE in 32 bytes of code. I wondered if this could be improved, after a few failed attempts I found this to be the smallest and fastest way:- IE=’\v’==’v’ Pretty cool eh?