Close and/or Mute YouTube ads automatically!
< Commentaires sur Auto Close YouTube Ads
About how to obtain the CSS selector.
<button />
tag at DevTools, and then copy the class name.Converting from the className ytp-skip-ad-button
into CSS selector becomes .ytp-skip-ad-button
(prepend one period)
Thanks kenjiuno.
I haven't gotten the new update to youtube that uses this new selector yet, but I pushed an update that includes it anyway 👍
Thanks for updating script, 1.4.6 works again!
Due to update of recent YouTube player, skipButton needs to be changed like the following line:
New CSS selector
.ytp-skip-ad-button
appended.