1$(function() { 2 // Open external links in new window 3 $('a').each(function() { 4 if (link_is_external(this)) { 5 $(this).prop('target', '_blank'); 6 } 7 }); 8 9 // External link utility 10 function link_is_external(link_element) { 11 return (link_element.host !== window.location.host); 12 } 13});
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.