Add footer text
 
m Use mw.loader.impl
 
Line 1: Line 1:
const footer = document.querySelector("ul#footer-info");
mw.loader.impl(() => {
if (footer) {
const footer = document.querySelector("ul#footer-info");
const text = document.createElement("li");
if (footer) {
text.innerText = "Jackboxpedia is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Jackbox Games, Inc., or any of its subsidiaries or its affiliates.";
const text = document.createElement("li");
footer.append(text);
text.innerText = "Jackboxpedia is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Jackbox Games, Inc., or any of its subsidiaries or its affiliates.";
}
footer.append(text);
}
});

Latest revision as of 02:50, 26 August 2024

mw.loader.impl(() => {
	const footer = document.querySelector("ul#footer-info");
	if (footer) {
		const text = document.createElement("li");
		text.innerText = "Jackboxpedia is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Jackbox Games, Inc., or any of its subsidiaries or its affiliates.";
		footer.append(text);
	}
});