1window.addEventListener("load", () => { 2 3 if (document.querySelector(".sidebar") ?? false) { 4 5 sidebarLinks = document.querySelector(".sidebar .wp-block-navigation-link"); 6 7 if (sidebarLinks ?? false) { 8 9 sidebarLinksAnchors = sidebarLinks.querySelectorAll("a"); 10 11 sidebarLinksAnchors.forEach( element => { 12 13 if(window.location.href == element.href) { 14 15 element.setAttribute("aria-current", "page"); 16 } 17 }); 18 } 19 } 20});
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.