
Contextlets 作者: David Hammond
Add context menu items that execute custom JavaScript.
必須使用 Firefox 才能使用此擴充套件
擴充套件後設資料
畫面擷圖


關於此擴充套件
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.
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.
為您的體驗打分數
權限了解更多
此附加元件需要:
- 讀取或修改書籤
- 取得剪貼簿中的資料
- 輸入資料到剪貼簿
- 下載檔案、讀取或修改瀏覽器的下載紀錄
- 監控擴充套件使用情況並管理佈景主題
- 存取瀏覽器分頁
- 存取您所有網站中的資料
更多資訊
- 附加元件網址
- 版本
- 0.4.1
- 大小
- 26.62 KB
- 最近更新
- 5 年前 (2020年4月15日)
- 相關分類
- 授權條款
- MIT License
- 版本紀錄
新增至收藏集
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 製作的更多擴充套件
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分
- 目前沒有評分