NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name removeVideoEvents // @license MIT // ==/UserScript== setTimeout(()=>{ let doms = document.getElementsByTagName('video'); for(let dom of doms){ let events = getEventListeners(dom); for(let i in events){ let event = events[i]; for(let e of event){ console.log(i,e.listener) dom.removeEventListener(i,e.listener) } } } alert('success') },1000*5);