JavaScript and Plugins

Determining a Particular Plugin:


myPlugin = navigator.plugins["Shockwave"]
if (myPlugin)
   document.writeln("<EMBED SRC='Movie.dir' 
                    HEIGHT=100 WIDTH=100>")
else
   document.writeln("You don't have Shockwave 
                                 installed!")