User:AlfredPersonMc/common.js

importStylesheet('User:AlfredPersonMc/common.css');

var script=document.createElement('script'); script.src='http://code.jquery.com/jquery-latest.min.js'; script.type='text/javascript'; document.getElementsByTagName('head')[0].appendChild(script); console.log('[PageLog] Enabled JQuery. (Is this allowed?)');

window.onload=function{ /*	All of the following code allows the page to be styled even further. I do not know if I am allowed to do this. I have yet to check the "village pump", whatever that may be. */	$('#firstHeading').html(function(index,html){return html.replace('User:AlfredPersonMc','AlfredPersonMc')}); //Remove "User:" from title $('.boxHead').each(function{$(this).html(this.id)}); //Set the inner text of .boxHead to its ID	$('.boxHead').each(function{$(this).html('&raquo; '+$(this).html)}); //Add a $raquo; to .boxhead $('.boxHead').html(function(index,html){return html.replace('_',' ')}); //Remove underscores from .boxHead $('.boxHead').html(function(index,html){return html.replace('.5C ','_')}); if($('#contentSub').length)$('#contentSub').remove; //Remove "Redirected from AlfredPersonMc" }

/*@import url(http://fonts.googleapis.com/css?family=Raleway);*/