Jump to content

User:Technical 13/Scripts/ACCHelp/List users.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
if(mw.config.get("wgCanonicalSpecialPageName") === "Listusers"){
	if($("input#offset").val() === $("a.mw-userlink").html()){
		$("h1#firstHeading").html(tickBad + " " + $("h1#firstHeading").html());
		document.title = Ucross + document.title;
		alert("WARNING!\n\t\tThis user already exists:\n\n\t\t\t" + $("input#offset").val());
	} else {
		$("h1#firstHeading").html(tickGood + " " + $("h1#firstHeading").html());
		document.title = Ucheck + document.title;
	}
}