tr****@gmail.com wrote:
I am looking for a script using javascript to pull browser information
including, browser type and version, OS info, plugins (flash, acrobat,
media player, etc), java version, etc. that will work on IE/Firefox. I
am looking for detalis similar to what is available at:
http://www.webreference.com/tools/br...owserhawk.html
Oh, BrowserHawk - that's an old buddy :-)
A good part of sniffing is made by studying window, window.screen
(where supported) window.navigator and window.plugins (or
document.plugins ? - you better check).
You just write a script to iterate through - and be aware that some
objects/properties will not be equally presented on all UA's; so
"property/object missing" fall back is required.
<http://www.jibbering.com/faq/#FAQ3_2> will give you some materials for
comparison tables.
But it is only half way: what really gives to BrowserHawk its not so
low value is their UA strings database they support and update since
1998. Grace to it they are able to extract much more info from UA
string - unless of course it is spoofed.
That is an old lasting "tradition" to have UA's string syntax close to
inscription on the wall in the subway men's room :-) A lot of info, but
to extract all of it one needs a sophisticated AI - or a huge database
to match the record.
My beloved one remains the mark in the old AOL packages (v.1 - v.5). In
their browser version the string ended up with "DigitallyExt". I still
think that by its hidden expressive power it stays in one row (if not
above) with the "Trespassers W" in front of Piglet's house. :-)
I mean - is it nice to know how many AOL users do you have? Sometimes
it may be nice. But what chance to discover the string pattern without
a database?