Contextlets

Add context menu items that execute custom JavaScript.

Contextlets - Add-on for Firefox

Contextlets is a Firefox add-on that allows you to add custom JavaScript code to the context menu. You can execute code as a content script or a background script, with access to the window object, DOM, and WebExtension APIs.

Add-on stats

Daily users: 51
Rating: 4.77
(13)
Version: 0.4.1 (Last updated: 2020-04-15)
Version code: 5005682
Creation date: 2017-11-26
Firefox on Android: No
Manifest version: 2
Permissions:
  • bookmarks
  • clipboardRead
  • clipboardWrite
  • contextMenus
  • downloads
  • management
  • menus
  • storage
  • tabs
  • <all_urls>
Size: 27.26K

Other platforms

Not available on Chrome
Not available on Android
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Firefox-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

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.

User reviews

by Shineblind, 2024-10-24

by ericchase, 2021-10-01
View all user reviews

Add-on safety

Risk impact

Contextlets requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk impact analysis details
  • Critical Grants access to browser tabs, which can be used to track user browsing habits and history, presenting a privacy concern.
  • Critical ****** ****** ** *** ********* ****** * *********** ******** **** ** ** *** ******* *** ****** **** **** *** ******* *****
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
  • High ****** ******* *** ********* ********* ******** ***** *** ** ********** ****** * ******** ******* *****
  • Medium ****** ** ********* *** ******* ******** **** **** *********** *** ********* *** ********* ******* *** *****
  • Medium ****** ********** ** ******** ********** *** ********* ******* ******** ****** ******** ****** ********
  • Medium ******* ***** *********** ***** ****** ********* *** ***** ********* **** **** ************** *** ********
  • Low ******* ****** ** *** ********* ********
Risk likelihood

We don't have sufficient data to confidently determine the risk likelihood of Contextlets. Use it at your own risk.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details