Close and/or Mute YouTube ads automatically!
< 脚本 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!
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址
Due to update of recent YouTube player, skipButton needs to be changed like the following line:
New CSS selector
.ytp-skip-ad-buttonappended.