1document.addEventListener("DOMContentLoaded", function () { 2 function observeEntryContentTopVisibility() { 3 const target = document.querySelector(".entry-content"); 4 const stickyButton = document.querySelector(".generateperf-sticky-commentbox"); 5 6 if (!target || !stickyButton) return; 7 8 const observer = new IntersectionObserver((entries) => { 9 entries.forEach((entry) => { 10 const isExitingFromTop = entry.intersectionRatio < 0.1 && entry.boundingClientRect.top < 0; 11 stickyButton.classList.toggle("is-hidden", isExitingFromTop); 12 }); 13 }, { 14 threshold: [0, 0.1, 1], 15 }); 16 17 observer.observe(target); 18 } 19 20 observeEntryContentTopVisibility(); 21});
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.