YoutubeEpisodeEnable

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

< Feedback on YoutubeEpisodeEnable

Review: Good - script works

§
Posted: 2023-06-21

You can add the option of CC/ subtitle.

ratmirslvAuthor
§
Posted: 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)
});

Post reply

Sign in to post a reply.