Obtain a web-browser's Java VM without using an applet - Javascript Browser Object Model

Javascript examples for Browser Object Model:Navigator

Description

Obtain a web-browser's Java VM without using an applet

Demo Code

ResultView the demo in separate window

<html>
   <head> 
   </head>//from w w w  .j av  a2 s.c o  m
   <body> 
      <script type="text/javascript">
document.writeln('<table border="1">');
for (var i = 0; i < navigator.plugins.length; i++) {
  document.writeln("<tr>");
  document.writeln("<td>" + navigator.plugins[i].name + "<\/td>");
  document.writeln("<td>" + navigator.plugins[i].description + "<\/td>");
  document.writeln("<td>" + navigator.plugins[i].filename + "<\/td>");
  document.writeln("<\/tr>");
}
document.writeln("<\/table>");

      </script> 
   </body>
</html>

Related Tutorials