Youtube double language subtitle / Youtube 双语字幕

Youtube double language subtitle / Youtube 双语字幕. 如果不能自动加载,请关闭字幕再次打开即可。默认语言为浏览器首选语言。

< Feedback on Youtube double language subtitle / Youtube 双语字幕

Review: OK - script works, but has bugs

§
Posted: 2021-10-10
Edited: 2021-10-10

可否将这些代码加入后再更新一下:

var subtitle = document.querySelector(".ytp-subtitles-button");
if(subtitle.getAttribute("aria-pressed") == 'false') subtitle.click();

以便自动开启字幕?主要我不会编程,只从使用者的角度出发,加入自动开启字幕后,这个脚本堪称完美

Post reply

Sign in to post a reply.