1document.addEventListener('DOMContentLoaded', function () { 2 document.querySelectorAll('.fb-see-whats-possible .entry-title').forEach(function (entryTitle) { 3 // Find the anchor tag within this entry title 4 const originalLink = entryTitle.querySelector('a'); 5 6 if (originalLink) { 7 // Clone the original anchor tag 8 const cardLink = originalLink.cloneNode(true); 9 cardLink.classList.add('fb-card-link'); 10 // Find the ancestor .kt-blocks-post-grid-item-inner 11 const ancestor = entryTitle.closest('.kt-blocks-post-grid-item-inner'); 12 if (ancestor) { 13 ancestor.insertBefore(cardLink, ancestor.firstChild); 14 } 15 } 16 // Add arrow-box if not present 17 if (!entryTitle.querySelector('.arrow-box')) { 18 var arrowBox = document.createElement('span'); 19 arrowBox.className = 'arrow-box'; 20 entryTitle.appendChild(arrowBox); 21 } 22 }); 23 24 // Add case-study-overlay div to each .kadence-post-image 25 document.querySelectorAll('.kt-post-slider-item .kadence-post-image').forEach(function (postImage) { 26 // Check if overlay already exists to avoid duplicates 27 if (!postImage.querySelector('.case-study-overlay')) { 28 const overlay = document.createElement('div'); 29 overlay.className = 'case-study-overlay'; 30 postImage.appendChild(overlay); 31 } 32 }); 33});
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.