setInterval(() => { const btn = document.querySelector('.videoAdUiSkipButton,.ytp-ad-skip-button') if (btn) { btn.click() } const ad = [...document.querySelectorAll('.ad-showing')][0]; if (ad) { document.querySelector('video').playbackRate = 1000000; document.querySelector('video').volume = 0; } }, 50)
A different tag from 'ad-showing' must be being used when showing back to back ads, but I'm not to sure how I can figure out what that might be. Any suggestions?
[link] [comments]
No comments:
Post a Comment