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

Function TabOpen

src/injected/content/tabs.js:9–15  ·  view source on GitHub ↗
({ key, data }, realm)

Source from the content-addressed store, hash-verified

7
8addHandlers({
9 async TabOpen({ key, data }, realm) {
10 await bridge[REIFY];
11 const { id } = await sendCmd('TabOpen', data);
12 tabIds[key] = id;
13 tabKeys[id] = key;
14 realms[id] = realm;
15 },
16 async TabClose(key) {
17 await bridge[REIFY];
18 const id = tabIds[key];

Callers

nothing calls this directly

Calls 1

sendCmdFunction · 0.90

Tested by

no test coverage detected