google-chromegoogle-chrome-extensionshellexecute

How do I perform a shell execute in a chrome extension?


I'm not finding a way to do this in the chrome.* API or even the experimental. It doesn't run through wscript so ActiveXObject("Shell.Application") isn't allowed.

I fear that my only option is to build a dll with NPAPI but I wanted to see if there was a simpler way.


Solution

  • If you want to do anything Natively, you need to use NPAPI. That allows you to run code outside the sandbox for your extensions.

    http://code.google.com/chrome/extensions/npapi.html