Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version
- From: "Bob Barrows" <reb01501@xxxxxxxxxxxxxxx>
- Date: Mon, 15 Jun 2009 10:43:29 -0400
jharp80 wrote:
On Jun 15, 7:09 am, "Bob Barrows" <reb01...@xxxxxxxxxxxxxxx> wrote:
jharp80 wrote:
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.
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/dynamicindex9/browsersniffer.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.
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.
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
.
- References:
- Prev by Date: Re: script for multi text replacement
- Next by Date: Re: script for multi text replacement
- Previous by thread: Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version
- Next by thread: Re: Help with vbs script
- Index(es):
Relevant Pages
|