1var h1Elements = document.querySelectorAll('.card__title'); 2 3h1Elements.forEach(function(h1Element) { 4 var h2Element = document.createElement('h3'); 5 6 h2Element.innerHTML = h1Element.innerHTML; 7 8 if (h1Element.hasAttribute('class')) { 9 h2Element.setAttribute('class', h1Element.getAttribute('class')); 10 } 11 12 h1Element.parentNode.replaceChild(h2Element, h1Element); 13}); 14 15 16 17 18 19 var images = document.querySelectorAll('img'); 20var links = document.querySelectorAll('a'); 21 22var imageTitleText = "Texas Oral Surgery Group Image"; 23var altText = "Texas Oral Surgery Group Image"; 24var linkTitleText = "Texas Oral Surgery Group button"; 25 26images.forEach(function(image) { 27 if (!image.hasAttribute('title')) { 28 image.setAttribute('title', imageTitleText); 29 } 30 31 if (!image.hasAttribute('alt')) { 32 image.setAttribute('alt', altText); 33 } 34}); 35 36links.forEach(function(link) { 37 if (!link.hasAttribute('title')) { 38 link.setAttribute('title', linkTitleText); 39 } 40}); 41 42 43 44 45 46 47 48var h1Elements = document.querySelectorAll('#reviews-banner .reviews .reviews-top .container .pop_h4 '); 49 50h1Elements.forEach(function(h1Element) { 51 var h2Element = document.createElement('h1'); 52 53 h2Element.innerHTML = h1Element.innerHTML; 54 55 if (h1Element.hasAttribute('class')) { 56 h2Element.setAttribute('class', h1Element.getAttribute('class')); 57 } 58 59 h1Element.parentNode.replaceChild(h2Element, h1Element); 60});
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.