YoutubeEpisodeEnable

Отображает список эпизодов справа от видео

< 脚本YoutubeEpisodeEnable的反馈

评价:好评 - 脚本运行良好

§
发表于:2023-06-21

You can add the option of CC/ subtitle.

ratmirslv作者
§
发表于:2024-04-04

Hello! If I add automatic start of subtitles, not all users will like it. But you can do it yourself by slightly changing the code to this:

//when you open new page - event yt-page-data-updated stopped working
document.addEventListener('load', function () {
    setTimeout(()=>{
        document.querySelector('.ytp-chapter-title').click()
        document.querySelector('.ytp-subtitles-button').click()

    },0)
});

window.addEventListener('yt-page-data-updated', function () {
    setTimeout(()=>{
        document.querySelector('.ytp-chapter-title').click()
        document.querySelector('.ytp-subtitles-button').click()
    },400)
});

发表回复

登录以发表回复。