Dead by Daylight
Creator Program Push
Check out everyone below participating in the Creator Program Push!
(function () { var WORKER = "https://dbdcard.hamwater.workers.dev/"; /* Carrd joins all lines into one, so: no line comments, explicit semicolons, and no HTML entities anywhere in this script. Text is set via textContent. */ function el(tag, cls, text) { var e = document.createElement(tag); if (cls) { e.className = cls; } if (text != null) { e.textContent = String(text); } return e; } function collectLogins() { var seen = {}; var out = []; var links = document.querySelectorAll('a[href*="twitch.tv/"]'); for (var i = 0; i < links.length; i++) { try { var name = new URL(links[i].href).pathname.split("/")[1]; if (name) { name = name.toLowerCase(); if (!seen[name]) { seen[name] = true; out.push(name); } } } catch (err) { } } return out; } function card(s) { var a = el("a", "ln-card"); a.href = "https://www.twitch.tv/" + encodeURIComponent(s.login); a.target = "_blank"; a.rel = "noopener"; var badge = el("div", "ln-badge"); var img = el("img"); img.src = s.thumb + "?t=" + Date.now(); img.alt = ""; img.loading = "lazy"; badge.appendChild(img); badge.appendChild(el("span", null, "LIVE \u00B7 " + s.viewers)); var meta = el("div", "ln-meta"); meta.appendChild(el("div", "ln-name", s.name)); meta.appendChild(el("div", "ln-title", s.title)); if (!isDbd(s) && s.game) { meta.appendChild(el("div", "ln-game", s.game)); } a.appendChild(badge); a.appendChild(meta); return a; } var logins = []; function isDbd(s) { return String(s.game || "").trim().toLowerCase() === "dead by daylight"; } function fill(groupId, gridId, streams) { var group = document.getElementById(groupId); var grid = document.getElementById(gridId); if (!group || !grid) { return; } grid.replaceChildren.apply(grid, streams.map(card)); group.style.display = streams.length ? "block" : "none"; } function refresh() { if (!logins.length) { return; } fetch(WORKER + "?logins=" + encodeURIComponent(logins.join(","))) .then(function (r) { if (!r.ok) { throw new Error("Worker HTTP " + r.status); } return r.json(); }) .then(function (live) { var box = document.getElementById("live-now"); if (!box) { return; } fill("ln-dbd", "ln-dbd-grid", live.filter(isDbd)); fill("ln-other", "ln-other-grid", live.filter(function (s) { return !isDbd(s); })); box.style.display = live.length ? "block" : "none"; }) .catch(function (e) { console.warn("[Live Now]", e); }); } function start() { logins = collectLogins(); console.info("[Live Now] tracking " + logins.length + " Twitch creators"); refresh(); setInterval(refresh, 120000); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", start); } else { start(); } })(); Creators Currently Pushing
For a swifter application process to join this list, apply through our form and join our Discord server to stay in the loop on collabs and future changes! — Thank you!
Due to an overwhelming amount of interest, we will not be responding to any messages about applying. PLEASE only reach out to us if you have any major concerns or questions. Refer to the form for applying to the Creator Program Push!This was a team effort by DeaditeGrrrl and SeraphelleXO!
For Copying! Hidden from view!