Mean Well LED trafo 320W 24V DC
Varenummer: 60036
Login eller ansøg om konto for at få adgang til at handle i vores portal
EAN: 5708829600368

`; } ns.run = function () { const title = txt(SELECTORS.title, "Produkt"); const sku = findSkuFromText(txt(SELECTORS.sku, "")); const table = pickBestSpecsTable(); const specs = extractSpecs(table); // prøv at finde et “fornuftigt” billede (første store) let imgSrc = ""; const imgs = Array.from(document.querySelectorAll("img")) .map(i => i.getAttribute("src") || i.getAttribute("data-src") || "") .filter(Boolean); imgSrc = imgs.find(s => !s.includes("logo") && !s.includes("icon")) || ""; const w = window.open("", "_blank", "noopener,noreferrer"); if (!w) { alert("Popup blev blokeret. Tillad popups for at printe datablad."); return; } w.document.open(); w.document.write(renderPrintHTML({ sku, title, specs, imgSrc })); w.document.close(); }; // Binder knap-klassen til generatoren const BTN_SELECTOR = ".open-datablad"; function attach() { document.querySelectorAll(BTN_SELECTOR).forEach(btn => { if (btn.dataset.dgBound === "1") return; btn.dataset.dgBound = "1"; btn.addEventListener("click", function (e) { e.preventDefault(); window.DatabladGenerator.run(); }); }); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", attach); } else { attach(); } new MutationObserver(attach).observe(document.documentElement, { childList: true, subtree: true }); })();