1function setAEMLinks() { 2 //set shop fly-out link 3 $(".menu-nav__sub-item.shop-link").attr("href", "javascript:void()"); 4 5 //set sign-out link 6 const signOutElement = Array.from( 7 document.querySelectorAll(".sidebar__nav-element__text") 8 ).find((el) => el.textContent.toLowerCase() === "sign out"); 9 if (signOutElement) { 10 signOutElement.setAttribute("href", "javascript:void()"); 11 } 12 13 // set cart link 14 $("#abCart .menu-nav__sub-item").attr("href", "javascript:void()"); 15} 16 17$(document).ready(function () { 18 $("body").css("pointer-events", ""); 19 setAEMLinks(); 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.