MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / post

Function post

src/background.js:747–755  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

745 cbi = null;
746 };
747 var post = function() {
748 if (cbi == null) return; // too late! :(
749 try {
750 i.contentWindow.postMessage(d, i.src);
751 cbi = null;
752 } catch (e) {
753 if (D) console.log("localFile: ERROR:" + e.message);
754 }
755 };
756 i.onload = post;
757
758 // timeout 3000s, this should be enough for local resources

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…