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 - 126: Supported
- 127: Supported
- 128 - 130: Supported
Edge
- 12 - 126: Supported
- 127: Supported
Safari
- 3.1 - 5.1: Not supported
- 6: Supported
- 6.1 - 17.4: Supported
- 17.5: Supported
- 17.6 - TP: Supported
Firefox
- 2 - 13: Not supported
- 14 - 127: Supported
- 128: Supported
- 129 - 131: Supported
Opera
- 9 - 12.1: Not supported
- 15 - 110: Supported
- 111: Supported
IE
- 5.5 - 8: Not supported
- 9 - 10: Not supported (but has polyfill available)
- 11: Supported
Chrome for Android
- 127: Supported
Safari on iOS
- 3.2 - 5.1: Not supported
- 6: Supported
- 7 - 17.4: Supported
- 17.5: Supported
- 17.6 - 18.0: Supported
Samsung Internet
- 4 - 24: Supported
- 25: Supported
Opera Mini
- all: Not supported
Opera Mobile
- 10 - 12.1: Not supported
- 80: Supported
UC Browser for Android
- 15.5: Supported
Android Browser
- 2.1 - 3: Not supported
- 4 - 4.3: Not supported (but has polyfill available)
- 4.4 - 4.4.4: Supported
- 127: Supported
Firefox for Android
- 127: Supported
QQ Browser
- 14.9: Supported
Baidu Browser
- 13.52: 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