1/* TRACKER LINKS INDE Pà SELVE SIDEN - I <ARTICLE> */ 2 if (document.querySelector('article')) { 3 document.querySelector('article').addEventListener('mouseup', function(event) { 4 // Find nærmeste <a> element fra det klikkede element 5 let link = event.target.closest('a'); 6 7 // Hvis et <a> element blev fundet indenfor artiklen 8 if (link) { 9 // Gem den aktuelle side-URL og href-attributten fra <a> 10 const currentPageUrl = window.location.pathname; 11 const linkHref = link.href; 12 if (currentPageUrl != "" && linkHref != "") { 13 bstat('Klik på links', currentPageUrl, linkHref); 14 } 15 } 16 }); 17}
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.