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

Contextlets 作者: David Hammond

Add context menu items that execute custom JavaScript.

4.8 (13 reviews)4.8 (13 reviews)
46 个用户46 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Custom context menu item.Context menu item configuration.
关于此扩展
This extension allows you to add any number of items to the context menu and have them execute custom JavaScript code as either a content script (which runs in the webpage and has access to the window object and DOM), or a background script (which has access to tabs and other WebExtension APIs). The Contextlets API also allows you to cross this divide and execute part of your script as the other type.

Firefox prevents WebExtensions from displaying more than one item in the top-level context menu at a time, per extension. If there are more to display, they will instead show up in a submenu. If you don't want to deal with submenus, you can work around this by installing one or more of the supplementary extensions. Each of these extensions will provide one additional spot in the top-level context menu, which you can select in the main Contextlets menu editor. To install an "extra" extension, first download an xpi file from here to your computer, then go to your Add-ons Manager, select "Install Add-on From File..." from the gear menu, and select the xpi file you downloaded.

Some example contextlets are available. To try these out, you will first need to download the JSON file and then import it using the Import button within the Contextlets extension.
评分 4.8(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 读取和修改书签
  • 获取剪贴板数据
  • 输入数据到剪贴板
  • 下载文件和读取与修改浏览器的下载历史
  • 监控扩展使用情况和管理主题
  • 获取浏览器标签页
  • 访问您在所有网站的数据
更多信息
附加组件链接
  • 主页
版本
0.4.1
大小
26.62 KB
上次更新
5 年前 (2020年4月15日)
相关分类
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
0.4.1 的发布说明
- Fixed using runAs() with function literals. This was broken in Firefox 74 and up due to the removal of Function.prototype.toSource() in web content.
David Hammond 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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