document.addEventListener('DOMContentLoaded', () => { if(Cookies.get("ui-tnc-agreed") !== "true" && window.location.href.indexOf("/wiki/") == -1) { $("BODY").addClass("censored"); $("BODY").append("
"); $("BODY").append(""+ "Cookies may be used. Please read our privacy policy for more information."+ "
By accepting to enter you agree to our rules and terms of service."+ "