1// Define the HTML to be appended 2const reviewButtonHTML = ` 3<div class="review-button-container"> 4 <a href="https://search.google.com/local/writereview?placeid=ChIJASrbq7moxokRdJiehAeKrJc" target="_blank" 5 class="review-button">Leave a review on Google</a> 6</div> 7`; 8 9// Append the HTML to #reviews-slider .header 10const reviewsHeader = document.querySelector('#reviews-slider .header'); 11if (reviewsHeader) { 12 reviewsHeader.insertAdjacentHTML('beforeend', reviewButtonHTML); 13} 14 15// Append the HTML to #reviews-banner .reviews .reviews-top 16const reviewsTop = document.querySelector('#reviews-banner .reviews .reviews-top .container'); 17if (reviewsTop) { 18 reviewsTop.insertAdjacentHTML('beforeend', reviewButtonHTML); 19} 20 21 22 23/* const reviewButtonHTML = ` 24<div class="review-button-container"> 25 <a href="https://search.google.com/local/writereview?placeid=ChIJASrbq7moxokRdJiehAeKrJc" target="_blank" 26 class="review-button">Leave a review on Google</a> 27</div> 28`; 29 30const reviewsHeader = document.querySelector('#reviews-slider .header'); 31 32if (reviewsHeader) { 33 reviewsHeader.insertAdjacentHTML('beforeend', reviewButtonHTML); 34} */ 35 36 37 38$(window).scroll(function () { 39 if ($(window).scrollTop() >= 120) { 40 41 $(".noval-header-sl").css({ 42 transition: "all ease-in-out .3s", 43 "position": "fixed", 44 }); 45 46 47 } else { 48 49 $(".noval-header-sl").css({ 50 transition: "all ease-in-out .3s", 51 "position": "relative", 52 }); 53 } 54}); 55 56 57 58const aboutAnchor = document.querySelector( 59 "section > div > div.header-section-1-sl > div.left-section-cont-sl > div > ul > li:nth-child(2) > a" 60); 61aboutAnchor.removeAttribute("href"); 62 63 64const servAnchor = document.querySelector( 65 "section > div > div.header-section-1-sl > div.left-section-cont-sl > div > ul > li:nth-child(3) > a" 66); 67servAnchor.removeAttribute("href"); 68 69 70const patAnchor = document.querySelector( 71 "section > div > div.header-section-1-sl > div.right-section-cont-sl > div > ul > li:nth-child(1) > a" 72); 73patAnchor.removeAttribute("href"); 74 75 76 77 78 79$("#location > div > div.container > div > div.location__list > div > div.location__hours > ul > li:nth-child(2) > span:nth-child(2)").text(`Vary`); 80 81 82$(".right__header").html(` <p> 83 <a href="https://warringtonortho.focusortho.com/Patient/Login" target="_blank" title="Login"> 84 <i class="fa fa-lock"></i> My Account 85 </a> 86 </p><p>CALL: <a href="tel:215-491-5480" aria-label="215-491-5480" >(215) 491-5480</a></p>`); 87 88 89$(".location__hours").append(`<p><strong>*1x / Month</strong><p>`); 90 91 92 93$(".content-about").append(`<div class="dc-btn"> 94<a href="/meet-dr-markham">READ MORE</a> 95</div>`); 96 97 98$(".right-section").html(`<div class="button-div"><a href="/request-an-appointment" target="_self" class="button-1 button--atlas" aria-label="Request an Appointment" >Request an Appointment</a></div>`); 99 100 101 102 103 104$(`<div class="wlcm">Welcome To</div>`).insertBefore(".isabel-cont h2"); 105 106 107$(".banner-inner").html(` 108 109<p class="tg">Smile Straight. Smile Great.</p> 110<h1 class="tg tg1">Your Smile Journey Begins Here in Warrington, PA 111</h1> 112<div class="bnr-btn"> 113<a href="/request-an-appointment" target="_self" aria-label="Request an Appointment" target="_self">Request an Appointment</a> 114</div> 115`); 116 117 118$(".team-wrap h2").text(`MEET THE DOCTOR`); 119 120 121 122$(".foot-sec > div > div.row > ul > li > a").attr('href', 'https://www.growthplug.com/').attr('target', '_blank'); 123 124 125 126 127 var pattern = /\b(MON|TUE|WED|THU|FRI|SAT|SUN)\b/g; 128 129// Select specific elements where text patterns need to be replaced 130var elementsWithText = document.querySelectorAll('.location__hours ul li'); 131// Iterate over each matched element 132elementsWithText.forEach(function (element) { 133 // Replace the matched text patterns with the desired format 134 element.innerHTML = element.innerHTML.replace(pattern, function (match) { 135 // Convert matched text patterns to the desired format 136 switch (match) { 137 case "MON": 138 return " Mon"; 139 case "TUE": 140 return "Tue"; 141 case "WED": 142 return "Wed"; 143 case "THU": 144 return "Thu"; 145 case "FRI": 146 return "Fri"; 147 case "SAT": 148 return "Sat"; 149 case "SUN": 150 return "Sun"; 151 default: 152 return match; 153 } 154 }); 155}); 156 157 158$('a[href^="tel:2154915480"]').click(function() { 159 var data = { 160 'activityInfo': 'call-btn', 161 'userAction': 'click' 162 }; 163 logEvent(data); 164}); 165 166 167$('.mobile-view .menu-mobile .header-rt .ctanav2') 168 .before('<li class="ctanav2"><a class="btn booknow" href="https://warringtonortho.focusortho.com/Patient/Login" target="_blank" title="Login">My Account</a></li>'); 169 170 171$('a[href^="tel:"]').click(function() { 172Â Â var data = { 173Â Â Â Â 'activityInfo': 'call-btn', 174Â Â Â Â 'userAction': 'click' 175Â Â }; 176Â Â logEvent(data); 177}); 178 179 $(".doc-img").attr("title", " ");
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.