屏蔽所有Youtube广告 Youtube AD blocker (Block all ad). Including blocking Youtube Music.

ChenZihan
2021-11-03T13:01:10Z

Block all video ads, insert ads, page ads. Including Youtube Music. 屏蔽所有视频广告、插入广告、页面广告。包括Youtube Music

Youtube屏蔽所有广告 Youtube AD blocker (Block all ad)

23.1.12 由于ytb广告页面策略的更新，部分视频屏蔽功能已失效，请等待本脚本的后续更新

23.1.12 According to the update of youtube AD tactic, some video AD block function had failed, please waiting for future update of this script.

22.4.13 版本 6.0 测试中 如需使用稳定版请在历史版本中使用版本 0.4.1
22.4.13 Version 6.0 is testing and debugging now. To use a stable version, use the version 0.4.1 in the historical version.
22.4.13 如果广告播放暂停，请等待1秒，广告自动移除
22.4.13 If the advertisement is stopped, please wait 1 second, the video AD will remove automatically

源码Source code：github

Thanks for @Naccl contribution who provide a way to remove newly video AD
https://github.com/ChenZihan-sudo/Youtube-AD-blocker/pull/3
https://github.com/ChenZihan-sudo/Youtube-AD-blocker/pull/2

屏蔽所有视频广告、插入广告、页面广告
视频广告屏蔽实现原理: 自动点击左下感叹号并随机点击表单确认发送关闭广告
视频插入广告屏蔽实现原理: 每隔800ms检测一次是否存在插入广告的标签并移除
页面广告屏蔽实现原理: 打开页面后检查是否存在广告标签并移除

[English] Youtube AD blocker (Block all ad)

Block all video ads, insert ads, page ads
Video AD blocking implementation principle: Automatically click to close the ad