scalpel@labs: ~/glossary/context-menu-actions.mdx5 sections

Right-Click Menu Shortcuts: Detect a Stack or Copy a Report in One Click

The right-click menu shortcuts add two entries to a page's context menu: 'Detect stack on this page', which opens the analysis in the side panel, and 'Copy tech report', which copies the Markdown report to your clipboard. Each entry can be turned on or off in settings.

extension: Scalpel Stackupdated: 2026-08-14read_time: 2 min
less context-menu-actions.mdx

Why it matters

A toolbar click is the standard way to open an extension, but it's not always the quickest path. Right-clicking the page you're already reading and picking "Detect stack" skips a step. Copying a tech report to the clipboard is even more efficient if you only want the names and versions, not the full analysis UI. The menu shortcuts are about minimising friction when you're in the flow of browsing.

How it works

Right-clicking anywhere on an http or https page shows Chrome's context menu. Scalpel Stack inserts up to two custom entries. "Detect stack on this page" triggers the same scan the toolbar button does and opens it in the side panel (or popup, depending on your setup). "Copy tech report" runs the scan silently and writes a Markdown-formatted list to your clipboard:

# Technology Stack

- WordPress 6.4.2 (100)
- PHP (85)
- Cloudflare (92)
- jQuery 3.6.0 (88)

The exact format matches what you'd see in a share/export flow. Each shortcut can be toggled on or off in the extension's settings panel. Because the menu is built from that same settings registry, toggling one entry immediately updates the context menu without a page reload.

Context-menu access requires explicit user permission. Clicking a menu entry is what grants the extension permission to read and analyse that tab.

What does not matter

The position in the context menu varies by browser and page context. Chrome doesn't guarantee where custom menu entries appear. You'll find them in the main list or a submenu depending on what else you right-clicked.

Keyboard shortcuts cannot trigger these menu actions directly. They exist only in the right-click menu, not as standalone hotkeys. If you want a keyboard shortcut to open Scalpel Stack, that's a separate feature (the side panel can be opened via the toolbar or a keyboard shortcut if you configure one).

Code example

Right-clicking a product page displays:

Forward
Back
Reload
Bookmark this page
Send page to your devices
─────────────────────────
View page source
Inspect (Q)
Inspect Accessibility Tree
─────────────────────────
Detect stack on this page
Copy tech report

Picking "Detect stack" opens the side panel showing WordPress, Wix, Google Analytics and other detected technologies. Picking "Copy tech report" adds a plain-text list to your clipboard, which you can paste into a note or Slack message.

How Scalpel shows it

The settings panel (gear icon, top right of the popup) has a section labelled "Right-click menu". Two checkboxes list the available entries. Ticking enables that entry in the context menu; unticking removes it. The menu updates immediately (no extension restart needed). Each checkbox carries a ? with a link to this page.

Sources