Help with Java Script

Miscellaneous Forums/General Discussion/Help with Java Script

I do appreciate if any one helped me with a Javascript that determine the browser ID/Name and also check if a certain plugin is present or not.

As you may know, OSAKit ( http://www.osakit.com ) is going multibrowser (support IE, Firefox, Opera...etc) and I really need a javascript to do the above.

Thanks in advance,

This should get browser information.

<SCRIPT LANGUAGE = "JavaScript">
   
     function displayBrowserInfo() {
   
          var browserStr = ""
          browserStr += "Browser: " + navigator.appName + "\r"
          browserStr += "Version:" + navigator.appVersion + "\r"
          browserStr += "Codename: " + navigator.appCodeName + "\r"
          browserStr += "User agent: " + navigator.userAgent + "\r"
          alert(browserStr)
     }
   
</SCRIPT>


And maybe something like this for plugins

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var myPlugin = navigator.plugins["Quicktime"];
if (myPlugin)
document.writeln("You have Quicktime installed!")
else
document.writeln("You don't have Quicktime installed!")
// End -->
</SCRIPT>
</CENTER>


Or look at this site

Thank you Tri|Ga|De very much for your help

No need to thank me.
A free copy of the osakit will be fine! LOL

LOL
I do not mind give a discount when it is released though :)