// detection for Netscape
var useAcrobat = navigator.mimeTypes &&
navigator.mimeTypes["application/pdf"]

</SCRIPT>

<SCRIPT LANGUAGE="VBScript">

on error resume next
   useAcrobat = not IsNull(CreateObject("AcroExch.Document"))
   '                can be CreateObject("PDF.PdfCtrl.1") too!


</SCRIPT>

<SCRIPT>

   if (useAcrobat)
      document.write("PDF 已安装");
   else
      document.write("未安装PDF");

</SCRIPT>

相关文章:

  • 2022-12-23
  • 2021-11-14
  • 2021-12-18
  • 2021-12-18
  • 2021-11-23
  • 2022-12-23
  • 2021-08-21
猜你喜欢
  • 2022-12-23
  • 2021-10-10
  • 2021-11-02
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案