Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of commandrun

commandrun by Achim Abeling, FourThreeSeven, Berend

Allows running a specific set of operating system commands

ExperimentalExperimental
3 (1 reviews)3 (1 reviews)
16 Users16 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Preferences page
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.
Developer comments
The source code for the extension is now on github: https://github.com/berenddeschouwer/commandrun

Please do not hesitate to send feedback about bugs and improvement wishes to me.
Rated 3 by 1 reviewer
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
1
2
0
1
0
Read 1 review
Permissions and dataLearn more

Required permissions:

  • Exchange messages with programs other than Firefox
  • Access your data for all websites
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
Version
2.0
Size
34.3 KB
Last updated
2 years ago (Sep 1, 2023)
Related Categories
  • Other
License
GNU General Public License v3.0 only
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 2.0
Add administrator polices

Follow Firefox administrator policies, and allow the administrator to set the preferences in policies.json.
More extensions by these developers
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.