Ben Collier

Mobile Specialist

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Contact

Tag Archives: internet explorer

IE Detection in 7 Bytes – Javascript

Posted on 11/08/2010 by Ben Collier

Great bit of javscript code that detects if a browser is Internet Explorer in just 7 bytes:

if(!+"\v1") // true only in IE

(via http://webreflection.blogspot.com/2009/01/32-bytes-to-know-if-your-browser-is-ie.html)

Posted in Articles | Tagged browser, browser detection, internet explorer, javascript

Sometimes Popular

  • Show / Reveal Password Bookmarklet
  • My 2017 – One Second Every Day
  • Fullscreen HTML5 Video in Safari via JavaScript
  • Brighton's Big Screen!
  • Bringing Animation to Mobile App UX
Big Sky Games
Proudly powered by WordPress