Last active
August 29, 2015 14:05
-
-
Save dstyle0210/51c5f762a05a87ea3297 to your computer and use it in GitHub Desktop.
IE구분 (11 및 이하버전)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isIE() { | |
| var o = [navigator.appName,navigator.userAgent]; | |
| return ((o[0] == 'Microsoft Internet Explorer') || ((o[0] == 'Netscape') && (new RegExp("Trident/.*rv:([0-9]{1,}[\.0-9]{0,})").exec(o[1]) != null))); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment