1function ready(callbackFunction) { 2 if (document.readyState != 'loading') 3 callbackFunction(event) 4 else 5 document.addEventListener("DOMContentLoaded", callbackFunction) 6} 7ready(event => { 8 try { 9 var fileLinks = document.querySelectorAll("a[href$='.doc'],a[href$='.docx'],a[href$='.ppt'],a[href$='.pptx'],a[href$='.xls'],a[href$='.xlsx'],a[href$='.pdf'],a[href$='.eps'],a[href$='.psd']"); 10 { 11 for (var i = 0; i < fileLinks.length; i++) { 12 13 var fileLink = fileLinks[i]; 14 15 fileLink.rel = "noopener"; 16 fileLink.target = "_blank"; 17 } 18 } 19 } catch (error) { throw error; } 20})
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.