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

Function waitForWebNav

src/background.js:6292–6300  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6290 TM_storage.init(storagedone);
6291
6292 var waitForWebNav = function() {
6293 if (!chrome.webNavigation || !chrome.webNavigation.onCommitted) {
6294 if (D || V) console.log("gb: waitForWebNav()");
6295 window.setTimeout(waitForWebNav, 300);
6296 return;
6297 }
6298
6299 chrome.webNavigation.onCommitted.addListener(onCommitedListener);
6300 };
6301
6302 var alldone = function() {
6303 window.setTimeout(ScriptUpdater.check, 10000);

Callers 1

alldoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…