Mutation Observer
- LSMethod for observing and reacting to changes to the DOM. Replaces MutationEvents, which is deprecated.
Chrome
- 4 - 17: Not supported
- 18 - 26: Supported
- 27 - 110: Supported
- 111: Supported
- 112 - 114: Supported
Edge
- 12 - 110: Supported
- 111: Supported
Safari
- 3.1 - 5.1: Not supported
- 6: Supported
- 6.1 - 16.2: Supported
- 16.3: Supported
- 16.4 - TP: Supported
Firefox
- 2 - 13: Not supported
- 14 - 110: Supported
- 111: Supported
- 112 - 113: Supported
Opera
- 9 - 12.1: Not supported
- 15 - 94: Supported
- 95: Supported
IE
- 5.5 - 8: Not supported
- 9 - 10: Not supported (but has polyfill available)
- 11: Supported
Chrome for Android
- 111: Supported
Safari on iOS
- 3.2 - 5.1: Not supported
- 6: Supported
- 7 - 16.2: Supported
- 16.3: Supported
- 16.4: Supported
Samsung Internet
- 4 - 19.0: Supported
- 20: Supported
Opera Mini
- all: Not supported
Opera Mobile
- 10 - 12.1: Not supported
- 73: Supported
UC Browser for Android
- 13.4: Supported
Android Browser
- 2.1 - 3: Not supported
- 4 - 4.3: Not supported (but has polyfill available)
- 4.4 - 4.4.4: Supported
- 111: Supported
Firefox for Android
- 110: Supported
QQ Browser
- 13.1: Supported
Baidu Browser
- 13.18: Supported
KaiOS Browser
- 2.5: Supported
- 3: Supported
When changing the innerHTML
content of a node containing a single CharacterData
node, resulting in a single-but-different CharacterData
child node, WebKit browsers consider this a characterData
mutation of the child CharacterData
node, while other browsers consider it a childList
mutation of the parent node.
- Resources:
- MutationObserver from MDN
- Polyfill