title: Replacing ActiveX with Custom Protocol Handler?
body: <p>I am trying to update a system that still uses ActiveX for certain things.  For example it uses this javascript to have a user login and access the internet (from our intranet)</p>
  
  <pre><code>var workingDirectory = "c:\\program files\\internet explorer";
  var filename = "c:\\program files\\internet explorer\\iexplore.exe";
  var arguments = referrer;
  var obj = new ActiveXObject("FHS.ProcessLauncherUtility");
  processId = obj.LaunchProcessReturnProcessId(domain, username, password, 
  workingDirectory, filename, arguments);
  </code></pre>
  
  <p>Obviously I would prefer to do something like a custom protocol handler to deal with this and pass arguments to, however I'm not entirely that will work here since it checks the login of the user before continuing.  </p>