The Shortest Way to Detect Internet Explorer in Javascript

The Shortest Way to Detect Internet Explorer

Through Ajaxian, the following 12 characters code seems to be the shortest way to detect any version of Internet Explorer, including IE 8. This is the result that came from a comment in a post from the Web Reflection blog. Very interesting!

IE='\v'=='v'

Premium is coming soon

An optional premium subscription to remove ads is planned. Subscriptions are not available yet.

You can keep using our free tools without an account.