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

Function domContentLoaded

src/content.js:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93/* ######## eventing #### */
94var domContentLoaded = function() {
95 if (V || EV || D) console.log("content: detected DOMContentLoaded " + Eventing.contextId);
96 domLoaded = true;
97 // help if domcontentloader listener is not installed at the page :-/
98 if (allReady) _handler.sendMessage("domContentLoaded = true; if (typeof runAllLoadListeners !== 'undefined') runAllLoadListeners();");
99};
100
101var domNodeInserted = function(node) {
102 if (!nodeInserted) {

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…