pushed
zhengqunkoo/Netflix-Google-Translate • 5:05 AM - Jan 30, 2019
The extension previously used a setInterval block to check for subtitle updates every 10 milliseconds, which created unnecessary CPU overhead. It now uses a MutationObserver attached to the persistent player-timedtext container, triggering the translation process only when new subtitle nodes are actually injected into the DOM. This provides a much more efficient, event-driven approach rather than constantly polling the page.
