DOM manipulation convenience methods

- LS

jQuery-like methods on DOM nodes to insert nodes around or within a node, or to replace one node with another. These methods accept any number of DOM nodes or HTML strings as arguments. Includes: ChildNode.before, ChildNode.after, ChildNode.replaceWith, ParentNode.prepend, and ParentNode.append.

IE

  1. 5.5 - 10
  2. 11

Edge

  1. 12 - 16
  2. 17 - 81
  3. 83

Firefox

  1. 2 - 48
  2. 49 - 77
  3. 78
  4. 79 - 80

Chrome

  1. 4 - 51
  2. 52 - 53
  3. 54 - 81
  4. 83
  5. 84 - 86

Safari

  1. 3.1 - 9.1
  2. 10 - 13
  3. 13.1
  4. 14 - TP

Opera

  1. 9 - 39
  2. 40
  3. 41 - 68
  4. 69

iOS Safari

  1. 3.2 - 9.3
  2. 10 - 13.3
  3. 13.4
  4. 14.0

Opera Mini

  1. all

Android Browser

  1. 2.1 - 4.4.4
  2. 81

Blackberry Browser

  1. 7
  2. 10

Opera Mobile

  1. 10 - 12.1
  2. 46

Chrome for Android

  1. 81

Firefox for Android

  1. 68

IE Mobile

  1. 10
  2. 11

UC Browser for Android

  1. 12.12

Samsung Internet

  1. 4 - 5.4
  2. 6.2 - 11.2
  3. 12.0

QQ Browser

  1. 10.4

Baidu Browser

  1. 7.12

KaiOS Browser

  1. 2.5
Resources:
JS Bin testcase
MDN Web Docs - ChildNode
MDN Web Docs - ParentNode
WHATWG DOM Specification for ChildNode
WHATWG DOM Specification for ParentNode
DOM4 polyfill
MS Edge feature request on UserVoice