I struggle with English for years. I read books, articles, news... listen, talk, watch movies, series in English. Netflix has subtitles but I want them with two seconds delay. I wrote to Netflix about this but they didn't hear me! Then I wrote this code. (Saved into browser's code snippets). I'm watching video for ten seconds without reading subtitles then code rewinds the video ten seconds and I'm listening and reading subtitles.
setInterval(function () {
const videoCanvas = document.querySelector(
'[data-uia="player"]'
);
videoCanvas.click();
setTimeout(function () {
const prevBtn = document.querySelector('[data-uia="control-back10"]');
prevBtn.click();
}, 1000);
}, 20000);
Top comments (2)
That’s a creative way to reinforce language learning. You might want to look into making it a browser plugin as I believe it will be beneficial to many.
Yes plugin is a good idea.