OSS TanbouSign in with GitHub

Manage context menus for many trigger elements with on-demand DOM generation

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
2,244
Primary language
JavaScript
License
MIT
Repository last updated
Jul 30, 2026
On this page

Overview

jQuery contextMenu 2.9.2 is a jQuery context-menu plugin and polyfill designed for large sets of trigger elements. It avoids pre-rendering large amounts of menu markup by generating DOM as needed and supports mouse interaction, keyboard navigation, submenus, and menu inputs.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Register context menus by selector and create DOM on demand

The README describes a design optimized for hundreds of trigger elements, keeping initialization and memory overhead low by generating menu DOM only when needed.

Sources: [1]

Navigate menus with mouse and keyboard

Arrow keys, Enter, Tab, Escape, Home, End, and related interactions are documented for keyboard navigation alongside normal mouse use.

Sources: [1]

Optionally integrate jQuery UI position

The README lists jQuery UI position as optional but recommended, and the distribution includes a position helper.

Sources: [1][2]

Best fit

Fits legacy jQuery interfaces that attach actions to many rows or nodes

The design is useful for table rows, tree nodes, and similar interfaces where many elements share a context-action model.

Sources: [1]

Before adoption

The distributable baseline is 2.9.2; GitHub 2.10.0 is not on npm

GitHub's latest 2.10.0 release explicitly says Phantom release, not available on npm, and package.json at that tag still reports 2.9.2. Use 2.9.2 as the npm baseline.

Sources: [4][5][3]

Version 2.9.2 declares jQuery >=1.8.2 as a peer

Package metadata for 2.9.2 declares jQuery >=1.8.2 as its peer dependency.

Sources: [2]

Official sources

  1. [1]jQuery contextMenu 2.9.2 README(2026-10-05)
  2. [2]jQuery contextMenu 2.9.2 package metadata(2026-10-05)
  3. [3]jQuery contextMenu 2.9.2 release(2026-10-05)
  4. [4]jQuery contextMenu 2.10.0 phantom release(2026-10-05)
  5. [5]jQuery contextMenu package metadata at 2.10.0 tag(2026-10-05)
  6. [6]jQuery contextMenu MIT license(2026-10-05)
Supplemental curator note

The distributable baseline is npm package jquery-contextmenu 2.9.2. GitHub's latest release 2.10.0 explicitly says it is a phantom release not available on npm, and the tag still reports package version 2.9.2. Do not request 2.10.0 from npm.

Try it in 3 steps

  1. 1

    Install the distributable jQuery contextMenu 2.9.2 release

    Install the real npm baseline, 2.9.2, rather than the 2.10.0 phantom GitHub release.

    demo=$(mktemp -d "${TMPDIR:-/tmp}/jquery-contextmenu.XXXXXX") && cd "$demo" && npm init -y >/dev/null && npm install --save-exact jquery-contextmenu@2.9.2 jquery@3.7.1
  2. 2

    Verify the package version and jQuery peer range

    Confirm the distributable version and declared jQuery peer dependency.

    test "$(node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('node_modules/jquery-contextmenu/package.json'));console.log(p.version+'/'+p.peerDependencies.jquery)")" = '2.9.2/>=1.8.2'
  3. 3

    Check context-menu and position-helper distributions

    Verify the context-menu assets and optional position helper without starting a browser.

    test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.js && test -f node_modules/jquery-contextmenu/dist/jquery.contextMenu.css && test -f node_modules/jquery-contextmenu/dist/jquery.ui.position.js
Check the official README

Growth

Growth trends · Last 30 days

2,244 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
0
Open PRs
5

Development activity is still being collected.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • contextmenu
  • html
  • jquery-contextmenu
  • jquery
  • jquery-plugin
  • html5
  • polyfill
  • hacktoberfest
Stars
2,244
Forks
719
Watchers
120
Open issues
102
Contributors
59
Owner type
Organization
Primary language
JavaScript
License
MIT
Repository last updated
Jul 30, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?