Solved

how to detect plugins in MSIE

Posted on 1997-10-09
6
1,027 Views
Last Modified: 2013-11-18
how to detect plugins in MSIE
meanign
how to find out which plugins are available on the system
using java or javascript or vbscript ?
0
Comment
Question by:weinerk
6 Comments
 
LVL 1

Author Comment

by:weinerk
Comment Utility
Edited text of question
0
 
LVL 4

Expert Comment

by:unicorntech
Comment Utility
The way to do this would be to parse the system registry using the langs listed above. Let me know how you go...

Regards,

Jason
0
 
LVL 1

Author Comment

by:weinerk
Comment Utility
need more info than that
how?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 2

Accepted Solution

by:
kolarb earned 50 total points
Comment Utility
Using *Script do navigator.plugins
it works as well in IE3,4 as in NN2,3,4.
0
 

Expert Comment

by:Boy
Comment Utility
Check this out! A plugin detection for MSIE(>4?) with VBScript.
It works if the plugin installation updates the
HKEY_CLASSES_ROOT in the windows 95/98 registry, with:
1.a KEY label about the plugin consisting of at least two parts seperated by a dot.
2. The KEY must be in this CLASSES root, having a CLSID subfolder.

This is the function which will search the clients windows registry for the excistance of a KEY label with a CLSID subfolder:

<SCRIPT LANGUAGE=VBScript> <!--

Function CheckWritePlug(PlugInName)
      'This is a sample VBScript comment, ignored by interpreter
         'ErrorHandling becomes ours, avoid those error popups
on error resume next

         'Now checking the registry for KEY label...
         'and assigning returning value to our variable
PlugInDetect = IsObject(CreateObject(PlugInName)) 'This is it!

         'If there was an error(like not exist!),drop the case...
Err.Raise

          'So this conditional, works properly...
 If PlugInDetect = True Then                        
   document.write "True"
 Else
   document.write "False"
 End If

End Function

CheckWritePlug("Microsoft.ActiveXPlugin")            
CheckWritePlug("Microsoft.ActiveXPlugin.1")            
CheckWritePlug("Amovie.ActiveMovie Control")            
CheckWritePlug("Amovie.ActiveMovie Control.1")            
CheckWritePlug("RealPlayer.RealPlayer(tm) ActiveXControl (32-bit)")
CheckWritePlug("RealPlayer.RealPlayer(tm) ActiveX Control (32-bit).1")
CheckWritePlug("ShockwaveFlash.ShockwaveFlash")
CheckWritePlug("ShockwaveFlash.ShockwaveFlash.2")
CheckWritePlug("ShockwaveFlash.ShockwaveFlash.3")
CheckWritePlug("MSVRML2C.VRMLBrowserCtl")
CheckWritePlug("MSVRML2C.VRMLBrowserCtl.1")
CheckWritePlug("PDF.PdfCtrl.1")
CheckWritePlug("LM.LMReader.1")
CheckWritePlug("EYEDOG.EYEDOGCtrl.1")
CheckWritePlug("LiquidMotion.LMEngine")
CheckWritePlug("LiquidMotion.LMEngine.1")
CheckWritePlug("Marquee.MarqueeCtl")
CheckWritePlug("Marquee.MarqueeCtl.1")

//--></SCRIPT>
The arguments above, feeding the CheckWritePlug Function,
could all reliably be detected on my machine.
The argument CheckWritePlug will be fed at call really must be exactly the same as the (default) installation KEY label in the registry.
If it works on your machine it should perform a reliable detection on client machines. Goodluck!
0
 
LVL 1

Author Comment

by:weinerk
Comment Utility
thanks - that looks great!!!!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now