commandrun 作者: Achim Abeling, FourThreeSeven, Berend
Allows running a specific set of operating system commands
扩展元数据
屏幕截图
关于此扩展
Injects an object CommandRun into every loaded page which provides a function run which allows to run commands of the operating system.
Allowed commands must be defined using the preference "extensions.commandrun.allowedcommands" which must be a JSON array, e.g. ["/usr/bin/touch","/bin/ls"].
You may then run the commands with javascript code like this:
CommandRun.run("/usr/bin/touch",["/tmp/commandruntest"]);
It requires installing a Native Messaging App as addons.mozilla.org won't install native apps. An App is included in the source.
Allowed commands must be defined using the preference "extensions.commandrun.allowedcommands" which must be a JSON array, e.g. ["/usr/bin/touch","/bin/ls"].
You may then run the commands with javascript code like this:
CommandRun.run("/usr/bin/touch",["/tmp/commandruntest"]);
It requires installing a Native Messaging App as addons.mozilla.org won't install native apps. An App is included in the source.
评分 3(1 位用户)
权限与数据详细了解
必要权限:
- 与 Firefox 之外的其他程序交换信息
- 访问您在所有网站的数据
更多信息
Please do not hesitate to send feedback about bugs and improvement wishes to me.