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

Function cb

src/background/utils/requests.js:32–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 xhr: new XMLHttpRequest(),
31 };
32 const cb = res => requests[id] && (
33 sendTabCmd(tabId, 'HttpRequested', res, req.frame)
34 );
35 return httpRequest(opts, events, src, cb)
36 .catch(err => cb({
37 id,

Callers 2

hookOptionsInitFunction · 0.70
HttpRequestFunction · 0.70

Calls 1

sendTabCmdFunction · 0.90

Tested by

no test coverage detected