1 2 function htmlToElement(html) 3 { 4 var template = document.createElement('template'); 5 html = html.trim(); // Never return a text node of whitespace as the result 6 template.innerHTML = html; 7 return template.content.firstChild; 8 } 9 10 var oldelement = document.getElementById('div-1adb6a70'); 11 var newelement = htmlToElement("<div> <a rel=\"nofollow\" target=\"_blank\" onclick=\"\" href=\"/l/123/0/paveboat-stopsel26\"><picture><source srcset=\"/p/123/0/paveboat-stopsel26.webp\" type=\"image/webp\"><img alt=\"STOPSEL\" src=\"/p/123/0/paveboat-stopsel26.jpg\" width=\"300\" height=\"425\"></picture></a><p>Advertising</p></div>") 12 13 14 if (oldelement && newelement) 15 oldelement.parentNode.replaceChild(newelement, oldelement);
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.