Solved

how to detect plugins in MSIE

Posted on 1997-10-09
6
1,037 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
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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

I had to do a bit of research to find the answer to this question so I thought I'd share my results.  Due to our outdated mainframe systems, we need to downgrade IE9 to IE8 in order to stay compatible.  We also needed to downgrade Java.  In order to…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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.

821 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