MCPcopy Index your code
hub / github.com/hoothin/UserScripts / domReady

Function domReady

Pagetual/pagetual.user.js:13624–13629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13622 function init() {
13623 if (document.readyState === 'loading' || document.readyState === 'uninitialized') {
13624 let domReady = e => {
13625 initRules(() => {
13626 initPage();
13627 });
13628 document.removeEventListener("DOMContentLoaded", domReady, false);
13629 };
13630 document.addEventListener("DOMContentLoaded", domReady, false);
13631 } else {
13632 initRules(() => {

Callers

nothing calls this directly

Calls 2

initRulesFunction · 0.85
initPageFunction · 0.85

Tested by

no test coverage detected