开发者

Creating a Chrome web application with shell commands

开发者 https://www.devze.com 2023-04-11 02:46 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消