Alex Rivera | Logout

Detect IE8 64bit in Javascript

Asked 2011-02-17T15:50:04.123
12

Hey there, I just wondered if there is a method to detect if the 64bit or 32bit Version of IE8 is running?

Because there are some major Bugs in the Facebook Javascript SDK which only occure in IE8x64...

Edit
Report

1 Answer

3

The User Agent string for a 64-bit IE browser will indicate that it's 'x64' or 'Win64' if it's a 64-bit browser.

http://blogs.msdn.com/b/ie/archive/2009/01/09/the-internet-explorer-8-user-agent-string-updated-edition.aspx

A 64-bit IE8 user agent string:

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)

vs. a 32-bit

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0)

answered 2011-02-17T15:58:15.107

Your Answer