MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / loaded

Function loaded

scripts/smoothScroll.js:282–290  ·  view source on GitHub ↗

* Make sure we are the last listener on the page so special * key event handlers (e.g for ) can come before us

()

Source from the content-addressed store, hash-verified

280 * key event handlers (e.g for <video>) can come before us
281 */
282 function loaded() {
283 setTimeout(function () {
284 init();
285 if (options.keyboardSupport) {
286 removeEvent("keydown", keydown);
287 addEvent("keydown", keydown);
288 }
289 }, 1);
290 }
291 const dateNow = (function () {
292 return window.performance && performance.now
293 ? function () {

Callers

nothing calls this directly

Calls 3

removeEventFunction · 0.85
addEventFunction · 0.85
initFunction · 0.70

Tested by

no test coverage detected