MCPcopy
hub / github.com/darkreader/darkreader / respond

Function respond

src/inject/index.ts:277–279  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

275 if (__FIREFOX_MV2__) {
276 socket.onmessage = (e) => {
277 function respond(data: any) {
278 socket.send(JSON.stringify({id, data}));
279 }
280
281 const {id, data, type} = JSON.parse(e.data);
282 switch (type) {

Callers 1

index.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected