开发者

Call linux command from a html page in Firefox or from Firefox extension

开发者 https://www.devze.com 2022-12-16 05:55 出处:网络
Is there any possibily that I can have a html page with button, that when the user click it, it will run linux command on the local machine?

Is there any possibily that I can have a html page with button, that when the user click it, it will run linux command on the local machine?

If it is not possible, then is it possible to have a firefox extensi开发者_StackOverflow社区on that monitor a url, and if the url appear, the extension itself will run a linux command on the local machine?

The html page is run on Firefox on Linux platform.


I wrote such an extension a while ago. The person who asked me to agreed to release it under an open-source license, and here's a mirror. Updating it to work under the latest version of Firefox is left as an exercise to the reader.

0

精彩评论

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