Skip to content

Install MutationObserver in DOMContentLoaded

Kai Uwe Broulik requested to merge work/mutation-later into master

They are mostly meant to detect when a player is dynamically added/removed by AJAX when e.g. an overlay opens. I don't think it's necessary to monitor the page being constructed, potentially slowing it down. Especially since in DOMContentLoaded we will register all players anyway.

Merge request reports

Loading