Friday, December 2, 2011

Detect whether Silverlight is installed and its version through JavaScript

Internet Explorer considers Silverlight as a kind of ActiveX control. So to find if Silverlight is installed, we can attempt to create this ActiveX control using
Javascript. If it fails to create the ActiveX control, we can assume that Silverlight is not installed.

For other browsers like Google Chrome, Netscape, FireFox, Safari etc, this can be determined by looking in to the Plugin array of the navigator object.
The Silverlight plugin is installed with the name 'Silverlight Plug-In'.

Read More....