Article:
  Plug-In Detection with JavaScript
Subject:   Detect Java?
Date:   2002-01-10 13:34:42
From:   mercurius_1
Could someone please tell me how to update this code so that it includes a function to detect the Java plug-in??
I'm not interested in whether the browser can support Java (I see a lot of code examples based upon this notion). I need to know whether they actually have the plug-in....I'm not a Javascripter, so I would really appreciate any help.
Thank you.
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Detect Java?
    2006-11-16 22:06:23  anjuprabha [View]

    This code will work.
    var oPlugin = new Object();
    oPlugin.JavaDetected = false;

    function fncDetectJava() {
    if (navigator.javaEnabled())
    oPlugin.JavaDetected = true;
    else
    oPlugin.JavaDetected = false;
    }
    regards
    anju
  • Detect Java?
    2002-10-04 03:09:04  anonymous2 [View]

    In actual plugin we have to make first mdf file and then add our source file in the above it given and put in together and comple