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

Function removeEvent

scripts/smoothScroll.js:705–707  ·  view source on GitHub ↗
(type, fn, arg)

Source from the content-addressed store, hash-verified

703 window.addEventListener(type, fn, arg || false);
704 }
705 function removeEvent(type, fn, arg) {
706 window.removeEventListener(type, fn, arg || false);
707 }
708 function isNodeName(el, tag) {
709 return el && (el.nodeName || "").toLowerCase() === tag.toLowerCase();
710 }

Callers 4

initTestFunction · 0.85
cleanupFunction · 0.85
loadedFunction · 0.85
removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected