PageSourceSearch

https://ocls.org/wp-content/plugins/ocls-announcements/build/ocls-…/view.js?ver=e2e58f0ee5b14f406638

js ocls.org collected 2026-09-24 09:23:16 UTC 918 bytes, 1 lines download raw bytes

1(()=>{const e="ocls-announcements-dismissed",n=()=>{document.querySelectorAll(".ocls-announcement").forEach(e=>{e.style.height=`${e.firstElementChild.offsetHeight}px`})},t=()=>{const n=sessionStorage.getItem(e);return n?n.split(","):[]},s=()=>{const e=t(),s="ocls-announcement-dismissed";document.querySelectorAll(".ocls-announcement").forEach(n=>{const t=n.dataset.announcementId;e.includes(t)?n.classList.add(s):n.classList.remove(s)}),n()};document.addEventListener("DOMContentLoaded",()=>{(()=>{const n=document.querySelector("body"),o=document.querySelector(".ocls-announcements");n.prepend(o),document.querySelectorAll(".ocls-announcement .ocls-announcement-dismiss button").forEach(n=>{n.addEventListener("click",()=>{(n=>{let o=t();o.includes(n.toString())||o.push(n);const c=o.join(",");sessionStorage.setItem(e,c),s()})(n.dataset.announcementId)})})})(),s()}),window.addEventListener("resize",()=>{n()})})();

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.