从本地加载 SRT/VTT 字幕,并将其注入为 YouTube 原生 CC 字幕轨道,不创建独立字幕层,也不隐藏原生字幕层。
Load local subtitle in YouTube and inject into "CC Subtitle Selector",
You may choose between the original subtitles and the subtitle you uploaded.
Chinese and English available, auto determined by browser language
This script may trigger YouTube's Anti Adblock System so you may encounter 6second sponsor AD before videos.
I can't inject the subtitle into the CC Subtitle selector without modify playerResponse/ytInitialPlayerResponse so i think it's inevitable temporarily.
v1.1 try to skip the 6s "fake ad"
v1.2 fix
v1.2.1:
WTF I found why I can't use this script today, it's because i use a ip which google thought it's Chinese IP(not actually CNIP, only google think it is), and these IPs(CN RU Macao Monaco and some) don't have youtube ads
So After I switch back to normal ip(like japan/us/any normal regions) it works fine as usual
WTF youtube