On 12/12/2005 16:04, Robert Aldwinckle wrote:
> "Michael Winter" <(E-Mail Removed)> wrote in message
> news:RTYmf.6739$(E-Mail Removed)
>
>> <http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp>
>
> Try the Show me... example on that page?
>
> What happens with it?
It works, but then it's only trying to evaluate 5.x or later, which is
what my IE 6 seems to think it is. If I save that and change the 5 to a
6, it fails again.
[snip]
> Also instead of User-Agent per se perhaps a more significant
> diagnostic would be
>
> javascript:navigator.appVersion
Exactly the same as the userAgent property, without "Mozilla/" at the start.
> You can get another set of browser information from
>
> http://www.fiddlertool.com/useragent.aspx
>
> (though for all I know some of it may be just a parsing of a received
> User-Agent string)
I believe it is (it uses HTTPBrowserCapabilities from ASP .NET). It's
certainly server-side, anyway.
> and here
>
> http://gemal.dk/browserspy/basic.html
Uses JScript. I could use conditional comments without any versioning,
then parse the User-Agent string knowing that I only need to check for
the version, but that would still leave the browser broken.
Last night, I even reinstalled XP2 (which is supposed to be /the/ way to
fix IE), getting infected with a virus in the process, and it still
thinks it's some version of IE 5. Looks like this won't get solved.
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail.