return to homepage

Scripts: Javascript

Browser Detection

The following script allows you to detect the type of browser the user is viewing this page. This uses the "navigator.appName" variable.

<SCRIPT>
<!--
document.write("You are viewing this page with:" + navigator.appName)
// -->
</SCRIPT>

 

Browser: Variable displayed:

IE

Microsoft Internet Explorer

Firefox

Netscape

Opera

Opera