Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
97
export
function
addMenuConfig(data) {
98
data[kUseMenu] = !!tabData;
99
}
100
101
/**
102
* Handles context menu clicks
for
ids created by rebuildPageCommandMenuTab.
Callers
2
GetInjected
Function · 0.90
registerScriptDataFF
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected