views:

5

answers:

0

The navigator.userAgent string only works correctly when IE8 is installed. When it does, it says:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NE 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; Windows Live Messenger 14.0.8089.0726)

If the user has IE6 the string Windows Live Messenger doesn't appear, and if he has IE7 it only appears on the second login.

Does anyone know anoter way to identify with javascript if a webpage is running inside Windows Live Messenger? Thanks!