Posted on 1998-06-11
Medium Priority
Last Modified: 2010-05-03

  How can I use VBScript to detect the browser that I am using .
Question by:pcseah

Expert Comment

ID: 1463179
Would doing this in JavaScript be acceptable?

Are you looking to see if they are using a particular browser ie Netscape or IE, then checking the version?


Expert Comment

ID: 1463180
If you are looking for the browser name in a CGI script, you can get it in the enviroment HTTP_USER_AGENT.


Accepted Solution

dyna112397 earned 80 total points
ID: 1463181
Save the following as a html page.  There is a button called show me inside.  Upon clicking it, it will show the browser name.

<title>Show Browser</title>
<p><input type="submit" name="browser" value="show me"> </p>
<script Language="VBScript">
sub browser_onClick()
    Msgbox navigator.appName
end sub

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question