YoutubeEpisodeEnable

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

< Feedback on YoutubeEpisodeEnable

Review: Good - script works

§
Posted: 21-06-2023

You can add the option of CC/ subtitle.

ratmirslvTác giả
§
Posted: 04-04-2024

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)
});

Post reply

Đăng nhập để bình luận