1(($, Drupal) => { 2 Drupal.behaviors.linkchecker = { 3 attach: () => { 4 document.querySelectorAll("a[href^='http']").forEach(element => { 5 element.addEventListener("click", e => { 6 const target = e.currentTarget; 7 const path = target.getAttribute("href"); 8 9 fetch(Drupal.url(`broken-links-checker?path=${path}`)); 10 }); 11 }); 12 } 13 }; 14})(jQuery, Drupal);
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.