The following is intended as a test to see if the browser supports Active-X w/o
actually loading an Active-X control in the page. This works on all other
versions of IE, but on IE11, typeof window.ActiveXObject returns
undefined. Any ideas if how to test for Active-X support in IE11?
Also I have a snippet of javascript code that runs fine in IE8 - IE10, but
doesn't work in IE11.
if (typeof (window.ActiveXObject) == "undefined")
{
ActivexPassed = false;
logInfo("Active-X NOT supported");
}
else
{
if (typeof window.external.msActiveXFilteringEnabled != "undefined" &&
window.external.msActiveXFilteringEnabled() == true)
{
ActivexPassed = false;
logInfo("Active-X NOT supported (Filtered)");
}
else
{
ActivexPassed = true;
logInfo("Active-X IS supported");
}