1var content_val = '<p style="text-align: center;color: #89e872;">SIGN-UP USING THE FORM OR CALL US AT 253-854-4414 TO TAKE ADVANTAGE OF THIS EXCLUSIVE OFFER.</p>'; 2 3$('#home_form .form__caption').html(content_val); 4 5$('#header-form .form__caption').html(content_val); 6 7 8$(this).scroll(function () { 9 $(".wrap__header").addClass("fixedscroll"); 10}); 11 12window.onscroll = function (ev) { 13 var B = document.body; //IE 'quirks' 14 var D = document.documentElement; //IE with doctype 15 D = D.clientHeight ? D : B; 16 if (D.scrollTop === 0) { 17 $(".wrap__header").removeClass("fixedscroll"); 18 } 19}; 20 21// Removes duplicated h1 tag 22let elems = document.getElementsByTagName('h1'); 23 24if (elems.length > 1) { 25 let h1Array = Array.from(elems); 26 27 // Priority 1: H1 inside .editable__container 28 let containerH1s = document.querySelectorAll('.editable__container h1'); 29 30 // Priority 2: H1 inside .wrap__blog 31 let blogH1s = document.querySelectorAll('.wrap__blog h1'); 32 33 let preferredH1 = null; 34 35 if (containerH1s.length > 0) { 36 preferredH1 = containerH1s[0]; 37 } else if (blogH1s.length > 0) { 38 preferredH1 = blogH1s[0]; 39 } else { 40 preferredH1 = h1Array[0]; // fallback 41 } 42 43 h1Array.forEach(h1 => { 44 if (h1 !== preferredH1) { 45 let h2 = document.createElement('h2'); 46 h2.innerHTML = h1.innerHTML; 47 h1.replaceWith(h2); 48 } 49 }); 50}
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.