
commandrun by Achim Abeling, FourThreeSeven, Berend
Allows running a specific set of operating system commands
Extension Metadata
Screenshots

About this extension
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.
Rated 3 by 1 reviewer
Permissions and dataLearn more
Required permissions:
- Exchange messages with programs other than Firefox
- Access your data for all websites
More information
- Add-on Links
- Version
- 2.0
- Size
- 34.3 KB
- Last updated
- 2 years ago (Sep 1, 2023)
- Related Categories
- Version History
- Add to collection
Please do not hesitate to send feedback about bugs and improvement wishes to me.