1if (typeof Node === 'function' && Node.prototype) { 2 const originalRemoveChild = Node.prototype.removeChild; 3 Node.prototype.removeChild = function (child) { 4 if (child.parentNode !== this) { 5 if (console) { 6 console.warn('Cannot remove a child from a different parent', child, this); 7 } 8 return child; 9 } 10 return originalRemoveChild.apply(this, arguments); 11 }; 12 13 const originalInsertBefore = Node.prototype.insertBefore; 14 Node.prototype.insertBefore = function (newNode, referenceNode) { 15 if (referenceNode && referenceNode.parentNode !== this) { 16 if (console) { 17 console.warn('Cannot insert before a reference node from a different parent', referenceNode, this); 18 } 19 return newNode; 20 } 21 return originalInsertBefore.apply(this, arguments); 22 }; 23}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.