MCPcopy
hub / github.com/KOWX712/Tricky-Addon-Update-Target-List / startHandshake

Function startHandshake

webui/scripts/keybox_repo.js:27–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27function startHandshake() {
28 stopHandshake();
29 iframe?.contentWindow?.postMessage({ type: 'handshake' }, KEYBOX_REPO_URL);
30 handshakeInterval = window.setInterval(() => {
31 iframe?.contentWindow?.postMessage({ type: 'handshake' }, KEYBOX_REPO_URL);
32 }, 500);
33}
34
35function stopHandshake() {
36 if (handshakeInterval !== undefined) {

Callers 1

createIframeFunction · 0.85

Calls 1

stopHandshakeFunction · 0.85

Tested by

no test coverage detected