ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Plug-In Detection with JavaScript
Subject:   Detecting Acrobat Reader
Date:   2002-03-18 18:57:42
From:   tienvo
Response to: Detecting Acrobat Reader

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


1 to 1 of 1
  1. Detecting Acrobat Reader & others
    2002-09-21 00:53:14  anonymous2 [View]

    • Detecting Acrobat Reader & others
      2003-11-19 02:33:19  anonymous2 [View]

      • Detecting Acrobat Reader & others
        2005-02-23 08:22:37  Hulkman [View]

        • Detecting Acrobat Reader & others
          2007-06-30 10:53:39  WebMaMa [View]

        • Detecting Acrobat Reader & others
          2005-04-15 15:01:58  jas1114 [View]

          • Detecting Acrobat Reader & others
            2005-04-18 06:21:43  ales78 [View]

            • Detecting Acrobat Reader & others
              2005-05-03 13:53:29  attheshow [View]

              • Detecting Acrobat Reader & others
                2006-11-24 05:58:39  ramprakash [View]

              • Detecting Acrobat Reader & others
                2006-11-24 05:58:09  ramprakash [View]

    • what about other plug-ins ? msWord etc?
      2003-02-05 17:23:28  bnreyal [View]

      • what about other plug-ins ? msWord etc?
        2003-02-13 07:08:04  anonymous2 [View]

        • what about other plug-ins ? msWord etc?
          2003-05-29 21:46:33  anonymous2 [View]

1 to 1 of 1