1let sciezka = window.location.pathname; 2let kat = sciezka.substring(0, sciezka.lastIndexOf('/') + 1); 3 4document.querySelectorAll('a[data-krok], div[data-krok], button[data-krok]').forEach(el => { 5 el.addEventListener('click', e => { 6 e.preventDefault(); 7 let [page, hash] = el.dataset.krok.split('#'); 8 if (hash == 'new') { 9 document.cookie = 'nasza_sesja_id=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=' + kat + '; SameSite=Lax'; 10 hash = null; 11 } 12 window.location.href = kat + page + '.html' + (hash ? '#' + hash : ''); 13 }); 14});
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.