User:Technical 13/Scripts/ACCHelp/Global block log.js

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($("h1#firstHeading").text() === "Global IP block log"){
	$("p:contains(\"No matching items in log.\")").addClass("error");
	if(typeof($("p:contains(\"No matching items in log.\")").html()) === "undefined"){
		$("h1#firstHeading").html(tickBad + " " + $("h1#firstHeading").html());
		document.title = Ucross + document.title;
		alert("WARNING!\n\t\tThere is a global block on:\n\n\t\t\t\t" + $("input#mw-log-page").val().substr(5));
	} else {
		$("h1#firstHeading").html(tickGood + " " + $("h1#firstHeading").html());
		document.title = Ucheck + document.title;
	}
}