View Single Post
Old 06-15-2009   #5 (permalink)
Bob Barrows


 
 

Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version

jharp80 wrote:
Quote:

> On Jun 15, 7:09 am, "Bob Barrows" <reb01...@xxxxxx> wrote:
Quote:

>> jharp80 wrote:
Quote:

>>> Hi I would like to detect broswer type and version (Example FF2,
>>> FF3, IE, so on) on the client side using VBScript.
>>
>> You will not be able to use vbscript with Firefox - it is not
>> supported. You
>> will need to use javascript instead.
>>
Quote:

>>> I appreciate any script
>>> on this I can do; and if not available some general guidelines how I
>>> should accomplish this using VBSCript ;example what objects i need
>>> to query. or is it possible to do this through reading registry
>>> keys.
>>
>> No registry keys are needed. DHTM should suffice.
>> See:http://www.dynamicdrive.com/dynamici...sersniffer.htm
>>
>
> Thanks for your reply. I am interested in detecting only Firefox and
> IE versions installed.
Installed? That's a different question. That answer would require a
search of the registry.
Quote:

> And I like to do so without the browesers
> actually launched.
>
> I have an hta script; so the code that I am looking for to do the
> detection will be included in that hta script written in VBScript.
An HTA page runs in a browser doesn't it? It just uses a different
library to process the html.
Quote:

> There must be a way to detect firefox as well, the script you
> mentioned seems to support detection of several broswers but Firefox
I found that page via a google search that had many more hits, many of
which will contain the details for firefox:
http://lmgtfy.com/?q=javascript+browser+detection

--
HTH,
Bob Barrows


My System SpecsSystem Spec