PageSourceSearch

https://textieldrukshop.nl/wp-content/cache/min/1/9315ece14306/wp-…/scripts/manifest-loader.js?ver=1789623366

js textieldrukshop.nl collected 2026-10-04 13:34:50 UTC 1,347 bytes, 5 lines download raw bytes

1async function loadManifest(){const{baseUrl,manifest}=await fetchManifestFromUrl();const entry=Object.values(manifest).find((e)=>e.isEntry);if(!entry){console.error("No entry found in manifest.");return}(entry.css||[]).forEach((cssFile)=>{appendResource("link",baseUrl+"/"+cssFile)});appendResource("script",baseUrl+"/"+entry.file)}
2function appendResource(tag,src){if(tag==="script"&&document.querySelector(`script[src="${src}"]`))return;if(tag==="link"&&document.querySelector(`link[href="${src}"]`))return;const element=document.createElement(tag);if(tag==="script"){element.type="module";element.src=src;document.body.appendChild(element)}else if(tag==="link"){element.rel="stylesheet";element.href=src;element.type="text/css";document.head.appendChild(element)}}
3async function fetchManifestFromUrl(){const manifestScript=document.querySelector("script[data-manifest]");const manifestUrl=manifestScript.getAttribute("data-manifest");if(!manifestUrl){console.error('No "data-manifest" attribute found on the manifest script.');return}
4return{baseUrl:new URL(manifestUrl).origin,manifest:await fetch(manifestUrl).then((response)=>response.json()).then((data)=>{return data}).catch((error)=>{console.error("Error fetching the manifest JSON:",error)}),}}
5loadManifest().then(()=>{console.log("Textieldrukshop configurator loaded successfully.")})

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.