Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Context command executor 预览

Context command executor 作者: NietEenDoktor

Execute customized commands from the context menu. Right click on a link and execute a command you defined. Linux tested

实验性实验性
4.7 (3 reviews)4.7 (3 reviews)
9 个用户9 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
This addon gives on the possibility to define custom commands to execute when right clicking on links (that includes audio, video and images).


# Install required script

Sorry, this is a restriction of webextensions. You can read more here
  1. Install Python 3
  2. Download executor.py(python3 script) to a temporary directory of your choice.
  3. Execute script python executor.py install --copy

When running a firefox fork, you have to find the directory for native messaging yourself!


# How to use
  • Define commands and their parameters in the addon preferences.
  • Right click a link, audio, video or image
  • Execute command

# How it works

*This is how webextensions work and not my choice*. If you want to complain about it, contact the firefox devs, not me.

That executor.py script you downloaded and then "installed" is used by Firefox. The executor also installed a manifest that describes, among other things, where the executor script is and who may execute it (this extension exclusively).

The script simply reads the input given to it, parses it to JSON, and calls the command (with is arguments) contained in the JSON.

When you right click on a link then click on the command to execute, all lines you configured in the addon preferences for that command are put into a list. If you have $URL anywhere on a line, it's replaced by the URL you right click.

That list is then sent to the executor in the correct format (by firefox).
开发者留言
Uses native messaging, so custom installation actions are required
评分 4.7(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
2
4
1
3
0
2
0
1
0
阅读全部 3 条评价
权限与数据详细了解

必要权限:

  • 与 Firefox 之外的其他程序交换信息
  • 读取和修改书签
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
0.5.1
大小
88.23 KB
上次更新
4 年前 (2021年4月25日)
相关分类
  • 其他
许可证
Mozilla 公共许可证 2.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
NietEenDoktor 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。