Skip to content

Instantly share code, notes, and snippets.

@deemstone
Created May 13, 2014 02:49
Show Gist options
  • Save deemstone/6d5907bb439f7e3e8161 to your computer and use it in GitHub Desktop.
Save deemstone/6d5907bb439f7e3e8161 to your computer and use it in GitHub Desktop.
These code shoudn't be write more than once! For enviroment detecting, Cross browser, Minimal impletions. Just copy to use.
/*
* if this is IE Browser
*/
!!(window.attachEvent && !window.opera);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment