diff --git a/index.html b/index.html index fe777946..a9be8d81 100644 --- a/index.html +++ b/index.html @@ -124,6 +124,9 @@ console.log("Can't access? Join our Discord: https://R74n.com/discord/"); console.log("Found this on another website? Let us know!"); console.log("©2021-" + new Date().getFullYear() + ". All Rights Reserved. https://sandboxels.R74n.com/license.txt"); + + isOnSite = location.hostname === "sandboxels.r74n.com"; + // If settings is in localStorage, load it. If not, create an empty object. settings = localStorage.getItem("settings") ? JSON.parse(localStorage.getItem("settings")) : {}; // URL query handling @@ -16248,7 +16251,7 @@ behaviorRules = { if (r) autoResizeCanvas(); focusGame(); }, - html: standalone ? null : `

`, + html: (standalone || !isOnSite) ? null : `

`, type: "confirm", wasPaused: pause }