User:HaydenBobMutthew/common.js

// April Fools is over but I still want it var elements = document.getElementsByClassName('mw-userlink'); for (var i = 0; i < elements.length; i++) { if (elements[i].title==="User:User-12316399") { elements[i].children[0].textContent = "Enderdespawnmite"; }   if (elements[i].title==="User:FVbico") { elements[i].children[0].textContent = "FVDisco"; }   if (elements[i].title==="User:Frisk") { elements[i].children[0].textContent = "1100dogsbacon"; }   if (elements[i].title==="User:DarkShadowTNT") { elements[i].children[0].textContent = "DarkRusyTNT"; }   if (elements[i].title==="User:violine1101") { elements[i].children[0].textContent = "Rusy1101 ms"; }   if (elements[i].title==="User:Nixinova") { elements[i].children[0].textContent = "Noxiniva"; }   if (elements[i].title==="User:BDJP007301") { elements[i].children[0].textContent = "Wolffillms"; } }

// JS Wiki Browser mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');

// "BLOCKED" watermark removal $(function {	var blockedDiv = $(".blocked");	if (blockedDiv.length > 0) {		var usernameSpan;		var username;		var targetBlock = $(".userinfo");		if ($("#mw-mf-viewport").length > 0) { // Detect mobile mode			usernameSpan = $("#section_0");			username = usernameSpan.html.match(/UserProfile:(.*)/)[1];		} else {			usernameSpan = $("h1 .mw-headline");			username = usernameSpan.attr("id");		}

$(' ').append(			$(' ')			.append("This user is currently blocked! ")			.append($("") .attr("href", "https://minecraft.gamepedia.com/index.php?title=Special:Log/block&page=User%3A" + username) .attr("title", "Block log") .text("Check the block log") ).append(" • ")			.append($("") .attr("href", "https://minecraft.gamepedia.com/Special:GlobalBlockList?wpTarget=" + username) .attr("title", "Global block log") .text("List global blocks") ).append("")		).appendTo(targetBlock); } });