I am trying to implement a browser support function on my web page. It works fine for Firefox 3.6, but for some reason IE8 userAgent returns the wrong value.
Here is the scenario when I run the "local" javascript code in IE8, navigator.userAgent returns the correct information (MSIE 8.0). But when I run this script on the server, it returns MSIE 7.0 in IE 8 browser.
Any ideas?
Sunny source
share