Solved

Is it possible to check if a plugin is installed on IE?

Posted on 2001-09-14
11
225 Views
Last Modified: 2013-11-18
Is it possible to check if a plugin is installed on IE? I know the code for netscape, I have not been able to find it for IE.

I am trying to display a DejaVu file on the browser and need to check if the plugin is installed.

Thanks in advance.

Nigel
0
Comment
Question by:theoneandonly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
  • 2
  • +1
11 Comments
 
LVL 7

Accepted Solution

by:
ClassyLinks earned 50 total points
ID: 6483413
There are lots of scripts out there to detect the .pdf, realplayer or flash plug-ins.

This is the one I use to detect the pdf. You could modify it (I think) to suit your needs.  You only need to know how the browsers store the name of the plug-in....

<SCRIPT LANGUAGE="Javascript">
<!--
// 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.writeln("<%response.redirect filename%>");
   else
      document.writeln("<A href="http://www.adobe.com/products/acrobat/readstep2.html"><IMG height=31 src="http://www.adobe.com/images/getacro.gif" width=88 border=0></A>Please download the FREE Acrobat Reader to view the document");
//-->      
</SCRIPT>
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6483434
Here is more info on the mime types...don't know if it will help you or not...

http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=11764
0
 

Author Comment

by:theoneandonly
ID: 6486891
Thanks ClassyLinks, I will try this and let you know

Nigel
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:theoneandonly
ID: 6487147
ClassyLinks, do you know where I can get the object type for the CreateObject function for the Djvu plugin. I tried to look on the website for Lizzard Tech. But no joy.

Thanks again for all the help.

Nigel
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6487314
Hi Nigel.....

I'll continue to try to look for that info, but have you tried an email to LizardTech?  It might save a tonne of work!
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6487355
I found this:

http://www.smeenk.com/vrml/articles/detection.html

It is a detection script but doesn't check for dejavu...however it does illustrate quite nicely how to modify the script so that it does look for any plug-in you desire...

Let me know if that helps.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6694890
This question has been abandoned.  I will make a recommendation to the
moderators on its resolution in a week or two.  I appreciate any comments
that would help me to make a recommendation.

Cd&
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6696763
Hi Cd&!

I'll take 'em.

Hope you had a good Xmas, btw.  8-)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 6714269
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
Points to ClassyLinks

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&
0
 
LVL 1

Expert Comment

by:Computer101
ID: 6716523
Comment from ClassyLinks accepted as answer.

Thank you
Computer101
Coommunity Support Moderator
0
 
LVL 7

Expert Comment

by:ClassyLinks
ID: 6717689
Thanks!
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question