User:GeorgeMoney/UserScripts/scriptstats

// //-SCRIPT STATUS

addOnloadHook(function{ var outsetorg = document.createElement('div'); outsetorg.id = "scriptstatus"; outsetorg.innerHTML = " "; var outset = outsetorg; var h2f = document.getElementsByTagName('h1')[0]; h2f.parentNode.insertBefore(outset, h2f.nextSibling); if(document.getElementById('scriptstatus').innerHTML = " ") { document.getElementById('scriptstatus').style.display = "none"; } });

function changescmsg(msg,color,background,border,padding,extrastyle) {

if(color=="") { var color = "black"; }

if(background=="") { var background = "none"; }

if(border == "") { var border = "none"; }

if(padding=="") { var padding = "3px"; }

if(extrastyle=="") { var extrastyle = ""; }

if(msg) { document.getElementById('scriptstatus').innerHTML = ''+msg+' '; document.getElementById('scriptstatus').style.display = "block"; }

}

//-END //