1export function etxAddQueryParam() { 2 const $targets = document.querySelectorAll("a"); 3 if (!$targets) { 4 return; 5 } 6 $targets.forEach((target) => { 7 const now = new Date().getTime(); 8 const etx = target.href.split(".").pop(); 9 if (etx === "pdf" || etx === "xls" || etx === "doc" || etx === "xlsx" || etx === "docx") { 10 target.href = target.href + `?${now}`; 11 } 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.