lxlzero / removeVideoEvents

// ==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);