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

Tech-Archive recommends: Fix windows errors by optimizing your registry



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


.



Relevant Pages

  • Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version
    ... You will not be able to use vbscript with Firefox - it is not supported. ... detection will be included in that hta script written in VBScript. ... mentioned seems to support detection of several broswers but Firefox ...
    (microsoft.public.scripting.vbscript)
  • Re: Tooltips ?
    ... they also need to be enabling script and ActiveX. ... :> You're in a client-side vbscript NG. ... :> Why would you even consider testing anything in Firefox from this NG? ... How do you know if someone coming to your site using a particular browser is ...
    (microsoft.public.scripting.vbscript)
  • Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version
    ... If it's an HTA with VBScript then you must mean ... Firefox is awkward because it doesn't register ... so on) on the client side using VBScript. ... or is it possible to do this through reading registry keys. ...
    (microsoft.public.scripting.vbscript)
  • Re: newbie Help: HOW to use VBSCript on clientside to detect browser type and version
    ... FF3, IE, so on) on the client side using VBScript. ... You will not be able to use vbscript with Firefox - it is not ... detection will be included in that hta script written in VBScript. ...
    (microsoft.public.scripting.vbscript)
  • Re: HELP!!!!!!!!!!!!!!!
    ... working, although, Ihave tested it in firefox, and it does notwork. ... using VBscript will effectively remove the form ... Ron Symonds - Microsoft MVP (FrontPage) ... new instances of the browser do not allow the form to work. ...
    (microsoft.public.frontpage.extensions.windowsnt)