User:HaydenBobMutthew/common.js

// User-12316399 -> MinecraftPhotos4U + few bonus 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 = "MinecraftPhotos4U"; }   if (elements[i].title==="User:ItsPlantseed") { elements[i].children[0].textContent = "MinecraftPhotos5U"; }   if (elements[i].title==="User:Magiczocker") { elements[i].children[0].textContent = "MinecraftPhotos6U"; } }

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

// Custom Font mw.loader.load('//fonts.googleapis.com/css?family=Emblema One')

// "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); } });