navigator.userAgent로 64비트 IE 알기 (Detecting 64-bit Internet Explorer)
모바일웹/모바일웹 개발 관련 2015. 3. 25. 13:34navigator.userAgent 에 정보가 담겨온다.
64비트 OS에서 64비트 IE로 들어올때:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)
64비트 OS에서 32비트 IE로 들어올때:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0)
이외 브라우저 및 OS정보를 좀더 알고 싶다면 아래의 주소를 참조하면 많은 도움이 된다.
http://www.w3schools.com/jsref/obj_navigator.asp
원문 :
Detecting 64-bit Internet Explorer
As machines with more than 4 gigabytes of RAM become more common, more and more users are running 64-bit versions of Windows. For compatibility with 3rd party add-ons, the 32-bit edition of Internet Explorer remains the default on 64-bit systems. However, in some cases it can be useful for websites to recognize when users are visiting using 64-bit systems—for instance, a site may want to know whether to offer a 64-bit executable download.
Tokens in the User-Agent string will enable you to determine whether or not the user is running a 64-bit version of Windows, and whether they are running the 64-bit edition of Internet Explorer.
64-bit IE on 64-bit Windows:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)
32-bit IE on 64-bit Windows:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0)
Incidentally, WOW64 stands for “Windows on Windows 64-bit.”
'모바일웹 > 모바일웹 개발 관련' 카테고리의 다른 글
[Mobile] userAgent 에이전트를 이용한 모바일 페이지로 자동 이동 (0) | 2015.03.25 |
---|---|
IE 7~11 navigator.userAgent (0) | 2015.03.25 |
브라우저 구분 navigator.appName, navigator.userAgent (0) | 2015.03.25 |
navigator.userAgent (0) | 2015.03.25 |
[JavaScript] navigator.userAgent (0) | 2015.03.25 |
navigator.userAgent 를 이용한 모바일 접속확인 (0) | 2015.03.25 |
접속 기기/브라우저 정보 추출(navigator.userAgent) (0) | 2015.03.25 |
Day_46 (Request, Response) (0) | 2015.03.25 |