PageSourceSearch

https://www.salzburg.gv.at/_assets/a5fcb4114d80f72354dd58b06946f10…/Src/celum-asset-viewer.js?1748860108

js salzburg.gv.at collected 2026-09-24 08:46:53 UTC 692 bytes, 18 lines download raw bytes

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.