Daily Archives: April 4, 2011

Code of the Day: Javascript Detect Internet Explorer

How many hours have you spent wasted on getting your site to run or display properly on Internet Explorer?
Do you want to cheat and use browser stiffing instead of feature detection?

1
2
// isIE is your key to freedom! You still never again be the same.
var isIE = !!!!!!!!window.ActiveXObject;//!!!!!

Larry Battle

I love to program, and discover new tech. Check out my stackoverflow and github accounts.

More Posts - Website

Follow Me:
Twitter