advertisement

Article:
  Plug-In Detection with JavaScript
Subject:   Detecting Acrobat Reader
Date:   2001-07-26 00:36:26
From:   neves
Does anyone knows how to adapt this code to detect Acrobat Reader?
Main Topics Oldest First

Showing messages 1 through 2 of 2.

  • Detecting Acrobat Reader
    2005-05-29 06:59:36  eyalib [Reply | View]

  • Detecting Acrobat Reader
    2002-03-18 18:57:42  tienvo [Reply | View]

    You might want to try this:

    <script>
    var p;
    try {
    p = new ActiveXObject('AcroExch.Document');
    }
    catch (e) {
    // active x object could not be created
    document.write('doesnt look like the PDF plugin is installed...');
    }
    if (p)
    document.write('does look like the pdf plugin is installed!');
    endif;
    </script>

    Tien Vo
    NEC Australia