PageSourceSearch

https://www.kidshealth.org.nz/themes/custom/kidshealth/components/view/view.js?tludn8

js kidshealth.org.nz collected 2026-10-02 04:07:33 UTC 645 bytes, 1 lines download raw bytes

1document.querySelectorAll(".related-content__list-toggle").forEach(e=>{e.addEventListener("click",()=>{const l=e.previousElementSibling;l&&l.tagName==="UL"&&(l.classList.toggle("collapsed"),l.classList.toggle("expanded"),e.textContent=l.classList.contains("expanded")?"Show less":"Show all")})}),document.querySelectorAll(".view--sector-a-z .toggle").forEach(e=>{e.addEventListener("click",()=>{const t=e.parentNode.previousElementSibling,s=t.previousElementSibling;console.log(t),t&&t.tagName==="UL"&&(t.classList.toggle("collapsed"),t.classList.toggle("expanded"),s&&s.tagName==="H3"&&s.scrollIntoView({behavior:"smooth",block:"start"}))})});

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.