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.
由 1 位評論者給出 3 分
權限與資料
更多資訊
Please do not hesitate to send feedback about bugs and improvement wishes to me.