javascript - Detect Plugins in Internet Explorer without Instantiating the Object -


Usually when you use VBScript or Javascript to CreateObject to detect plug-ins, Jaring "security exception.

P> However, I would like to check on creating an object No way, you can still get around security exceptions using the JavaScript try-catch block.

For example:

  check the functionfor (try {var conn = new ActiveXObject ('Msxml2.XMLHTTP'); Back true; } Hold (e) {return false; }}  

In this situation, the actual error has been touched and hidden by the user.


Comments