EY, code); } catch(e) {} } var ref = getRef(); if (!ref) return; storeRef(ref); function tagLink(el) { var href = el.getAttribute("href"); if (!href) return; var isPlatform = PLATFORM_HOSTS.some(function(h) { return href.indexOf(h) !== -1; }); if (!isPlatform) return; try { var url = new URL(href, window.location.origin); if (!url.searchParams.has("ref")) { url.searchParams.set("ref", ref); el.setAttribute("href", url.toString()); } } catch(e) {} } function tagAllLinks() { document.querySelectorAll("a[href]").forEach(tagLink); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", tagAllLinks); } else { tagAllLinks(); } var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === "A") tagLink(node); if (node.querySelectorAll) node.querySelectorAll("a[href]").forEach(tagLink); } }); }); }); observer.observe(document.body || document.documentElement, { childList: true, subtree: true }); document.addEventListener("click", function(e) { var a = e.target.closest && e.target.closest("a[href]"); if (a) tagLink(a); }, true); })();
SIMPLIFY SETUP, MAXIMIZE EFFICIENCY!
Setting up CyberPanel is a breeze. We’ll handle the installation so you can concentrate on your website. Start now for a secure, stable, and blazing-fast performance!