
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
electron-input-menu
Advanced tools
Context menu for electron input elements.
npm install --save electron-input-menu
This module expose a middleware for electron-contextmenu-middleware.
To use input context menu, you have to require this module and electron-contextmenu-middleware in renderer process and then mount this module as a middleware.
const inputMenu = require('electron-input-menu');
const context = require('electron-contextmenu-middleware');
context.use(inputMenu);
context.activate();
electron-input-menu can also register shortcuts on DOM document object to handle copy, paste, cut, selectAll, undo and redo action. This is useful if your app doesn't provide an "Edit" menu that can handle this shortcuts.
To activate the shortcuts, call the registerShortcuts method in renderer process.
const inputMenu = require('electron-input-menu');
inputMenu.registerShortcuts();
electron-contextmenu-middleware - Build electron context menus composing multiple middlewares functions.
debug-menu - Chrome-like "inspect element" context-menu.
The MIT License (MIT)
Copyright (c) 2016 parro-it
FAQs
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.