1const target = document.querySelector('.wp-block-navigation-item.is-style-phone-number .wp-block-navigation-item__label'); 2if (target !== null){ 3target.insertAdjacentHTML('beforebegin', '<svg style="vertical-align:middle;" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path d="M20 22.621l-3.521-6.795c-.008.004-1.974.97-2.064 1.011-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z"/></svg>'); 4} 5 6document.addEventListener('DOMContentLoaded', function () { 7 window.addEventListener('scroll', function () { 8 const banner = document.querySelector('.hashbar-announcement-bars-container'); 9 if (!banner) return; 10 11 const scrollTrigger = 5; 12 13 if (window.scrollY > scrollTrigger) { 14 banner.classList.add('hashbar-fixed'); 15 } else { 16 banner.classList.remove('hashbar-fixed'); 17 } 18 }); 19});
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.