I would like to create a simple HTML based application which will be used offline. The application needs to be able to execute shell commands (in Windows) to perform various actions.
How can I create a web application for Google Chrome which is able to 开发者_JAVA技巧execute shell commands relative to its path?
I am after a Chrome equivalent to hta
with WScript.Shell
equivalent.
If it is a google chrome extension, than you can write NPAPI plugin to call native programs. For a regular web page I don't think it is possible from javascript. Using java applet may help.
精彩评论