Install MutationObserver in DOMContentLoaded

Authored by broulik on May 18 2020, 11:56 AM.

Description

Install MutationObserver in DOMContentLoaded

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.

Details

Committed
broulikMay 18 2020, 11:56 AM
Parents
R856:ccd47495c4aa: Add logo.png for GitLab
Branches
Unknown
Tags
Unknown
References
work/mutation-later, refs/backups/branch-work/mutation-later-1589803365