1// Select all elements with the classes 'module-heading' and 'section-header' 2const elements = document.querySelectorAll('.module-heading.section-header'); 3 4// Loop through each element 5for (var i = 0; i < elements.length; i++) { 6 // If the element is empty (i.e., its innerHTML is an empty string) 7 if (elements[i].innerHTML === '') { 8 // Remove the element 9 elements[i].parentNode.removeChild(elements[i]); 10 } 11} 12 13const moduleSection = document.getElementById('module-section'); 14const main = document.getElementById('main'); 15if(moduleSection && main) { 16 main.appendChild(moduleSection); 17} 18 19document.querySelectorAll('.searchandfilter h4').forEach(function(el) { 20 var newElement = document.createElement('p'); 21 newElement.className = 'h4'; 22 newElement.innerHTML = el.innerHTML; 23 el.parentNode.replaceChild(newElement, el); 24});
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.