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

Function pushKV

example/tests/gm_value_test.js:192–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 }
191
192 async function pushKV() {
193 const kvMap = {};
194 for (const k of ALL_KEYS) {
195 kvMap[k] = await GM_getValue(k, undefined); // iframe
196 }
197 reportKV(kvMap);
198 }
199
200 function iLog(msg, type = '') {
201 reportLog({ msg, type, t: nowTime() });

Callers 4

gm_value_test.jsFile · 0.85
doSetFunction · 0.85
doDelFunction · 0.85
registerAllListenersFunction · 0.85

Calls 1

reportKVFunction · 0.85

Tested by

no test coverage detected