STYLE SWITCHER

Correct way to use Modernizr to detect IE

Correct way to use Modernizr to detect IE

Modernizr doesn't detect browsers as such, it detects which feature and capability are present and this is the whole jist of what it's trying to do. You could try hooking in a simple detection script like this and then using it to make your choice. I've included Version Detection as well just in case that's needed. If you only want to check of any version of IE you could just look for the navigator.userAgent having a value of "MSIE"

Miro video converter

Miro video converter

A beautiful, simple way to convert almost any video to MP4, WebM (vp8), Ogg Theora, or for Android, iPhone, and iPad. Batch conversion, custom sizing, and more!

Pegasus

Pegasus

Load your data in parallel with your other scripts. Pegasus is a simple JavaScript solution to improve your average time to display data.

  • Keep your skills sharp, get informed.

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox