Quantcast
Channel: Internet Explorer 8, 9, 10, 11 forum
Viewing all articles
Browse latest Browse all 10469

Internet Explorer 11 Preview: ActiveX not loading

$
0
0

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");

      }


Viewing all articles
Browse latest Browse all 10469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>