Answers for "youtube skip add"

1

youtube skip

const clear = (() => { const defined = v => v !== null && v !== undefined; const timeout = setInterval(() => { const ad = [...document.querySelectorAll('.ad-showing')][0]; if (defined(ad)) { const video = document.querySelector('video'); if (defined(video)) { video.currentTime = video.duration; } } }, 500); return function() { clearTimeout(timeout); } })();
Posted by: Guest on August-21-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language