// Detect if user is on an older domain that isn't recommended. function addWarning() { let alertDiv = document.createElement("div"); alertDiv.innerHTML = "You are on an unsupported version of the site. Please go to archblox.com instead."; alertDiv.setAttribute("id","alert"); document.body.appendChild(alertDiv); } if (window.document.location.hostname == "archblox.com") {} else { addWarning(); } console.log("Woah there!"); console.log(" "); console.log("Be careful what you type or copy in this here javascript console."); console.log("Don't copy and paste some javascript code from a random person on the internet."); console.log("It can be an account token stealer, which can get that random person into your account."); console.log("Be safe, and be smart."); console.log(" "); console.log("If you know what you're doing, have fun then!");