Ben Collier

Mobile Specialist

Main menu

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

Tag Archives: browser detection

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

  • Unable to open links in Safari, Mail or Messages on iOS 9.3
  • How to fix iOS 9.3's broken Safari, Mail and Messages links
Big Sky Games
Proudly powered by WordPress