Coffeehouse Post

Single Post Permalink

View Thread: ActiveXObject
  • pavone

     I have the following javascript:

    var WshNetwork = new ActiveXObject("WScript.Network");
    var Drives = WshNetwork.EnumNetworkDrives();

    Which gives me this warning:
    "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?  YES  NO"

    Does anyone know how I can make it so that I can ask the user to install or do something so that that message doesn't pop up again?