Solved

how to detect plugins in MSIE

Posted on 1997-10-09
6
1,043 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
[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 Comments
 
LVL 1

Author Comment

by:weinerk
ID: 1819657
Edited text of question
0
 
LVL 4

Expert Comment

by:unicorntech
ID: 1819658
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
ID: 1819659
need more info than that
how?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 2

Accepted Solution

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

Expert Comment

by:Boy
ID: 1819661
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
ID: 1819662
thanks - that looks great!!!!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Several part series to implement Internet Explorer 11 Enterprise Mode
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

627 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