From 5a391fad7dbad6f1f3cc77b168b7f7dfadf13860 Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Wed, 21 May 2025 11:10:53 -0400 Subject: [PATCH] Update index.html --- index.html | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 8efe0e15..b0d62544 100644 --- a/index.html +++ b/index.html @@ -19071,18 +19071,51 @@ Cancer, Landmine, Grenade, Smoke Grenade">? span.style.display = "block"; document.getElementById("langSelectP").style.display = "none"; } + else { + function loadPlaylight() { + if (typeof playlightSDK === "undefined") { + document.getElementById("playlightButton").value = "Loading..."; + document.head.insertAdjacentHTML("beforeend",``); + let script = document.createElement("script"); + script.setAttribute("type","module"); + script.innerHTML = `try { + const module = await import("https://sdk.playlight.dev/playlight-sdk.es.js"); + const playlightSDK = module.default; + await playlightSDK.init({ + button: { + visible: false + }, + exitIntent: { + enabled: false + } + }); + playlightSDK.setDiscovery(true); + document.getElementById("playlightButton").value = "More Games"; + } catch (error) { + console.error("Error loading the Playlight SDK:", error); + document.getElementById("playlightButton").value = "Error..."; + }`; + document.head.appendChild(script); + } + else { + playlightSDK.setDiscovery(true); + } + } + }
Try our NEW GAME: Infinite Chef
Email us at contact@R74n.com for advertising, help, or education!
-Support development by subscribing on our Patreon! Many benefits!!
+ +