MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / reportLog

Function reportLog

example/tests/gm_value_test.js:85–87  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

83 const TARGET_ORIGIN = location.origin;
84
85 function reportLog(entry) {
86 top.postMessage({ t: MSG_NS + 'LOG', frameId, entry }, TARGET_ORIGIN);
87 }
88
89 function reportKV(kvMap) {
90 top.postMessage({ t: MSG_NS + 'KV', frameId, kvMap }, TARGET_ORIGIN);

Callers 1

iLogFunction · 0.85

Calls 1

postMessageMethod · 0.65

Tested by

no test coverage detected