$ 0 0 I should clarify that the only reason that I'm recommending MutationObserver here is because it can listen to subtree modifications.