The Chrome extension "closed caption" utilizes caption information from the screen the user is currently viewing.

It accesses the browser you're using to get the textual information, translates it, and adds it to the browser.

It doesn't keep any of that data, and only utilizes it for translation.