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

Function sendTabCmd

src/common/index.js:99–101  ·  view source on GitHub ↗
(tabId, cmd, data, options)

Source from the content-addressed store, hash-verified

97 * @return {Promise}
98 */
99export function sendTabCmd(tabId, cmd, data, options) {
100 return browser.tabs.sendMessage(tabId, { cmd, data }, options).catch(ignoreNoReceiver);
101}
102
103// Used by `injected`
104export function sendMessage(payload, { retry } = {}) {

Callers 9

isInjectableFunction · 0.90
notifyTabFunction · 0.90
cbFunction · 0.90
tabs.jsFile · 0.90
handlePageMenuCommandFunction · 0.90
notifyOpenerFunction · 0.90
broadcastFunction · 0.90
injectContentRealmFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected