1document.addEventListener("DOMContentLoaded", function () { 2 const iframes = document.querySelectorAll(".celum-asset-viewer"); 3 if (!iframes.length) return; 4 5 const urlParams = new URLSearchParams(window.location.search); 6 const kParam = urlParams.get("k") || ""; // Falls k leer ist, setzen wir es auf einen leeren String 7 8 iframes.forEach((iframe) => { 9 let iframeSrc = iframe.getAttribute("data-src"); // Ursprüngliche URL aus data-src 10 if (!iframeSrc) return; 11 12 // URL-Parameter korrekt anhängen 13 let separator = iframeSrc.includes("?") ? "&" : "?"; 14 iframe.src = kParam 15 ? `${iframeSrc}${separator}k=${encodeURIComponent(kParam)}` 16 : iframeSrc; 17 }); 18});
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.