MCPcopy Create free account
hub / github.com/violentmonkey/violentmonkey / addMenuConfig

Function addMenuConfig

src/background/utils/page-menu-commands.js:97–99  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

95}
96
97export function addMenuConfig(data) {
98 data[kUseMenu] = !!tabData;
99}
100
101/**
102 * Handles context menu clicks for ids created by rebuildPageCommandMenuTab.

Callers 2

GetInjectedFunction · 0.90
registerScriptDataFFFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected