1((Drupal, window) => { 2 /** 3 * Initialize the window printing. 4 * 5 * @type {Drupal~behavior} 6 * 7 * @prop {Drupal~behaviorAttach} attach 8 * Attach context and settings for printing. 9 */ 10 Drupal.behaviors.external_links = { 11 attach(context) { 12 window.addEventListener("load", (event) => { 13 const links_icons = document.querySelectorAll('a.ext span.extlink-nobreak > span.extlink'); 14 links_icons.forEach(function (span) { 15 span.setAttribute('aria-label', "(link is external, opens in a new window)"); 16 }); 17 }); 18 }, 19 }; 20})(Drupal, window);
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.