User:Kirkburn/wowwiki.js

/*

/* changes the Google search box to MediaWiki search box */ function changeSearch { document.getElementById('p-search').innerHTML = " Search    "; }

/* changes the personal links (at the top) to include direct links to the customized CSS and JS pages */ function changePersonal { document.getElementById('p-personal').innerHTML = " Personal tools KirkburnMy talkCSS</a></li><a href='/User:Kirkburn/wowwiki.js'>JS</a></li><a href='/Special:Preferences'>My preferences</a></li><a href='/Special:Watchlist'>My watchlist</a></li><a href='/Special:Contributions/Kirkburn'>My contributions</a></li><a href='/Special:Userlogout'>Log out</a></li></ul> ";

}

/* does everything */ function doStuff { changePersonal; changeSearch; }

/* makes the page wait until it's loaded before it does everything, otherwise it won't be able to access the parts of the page which haven't loaded yet */ addOnloadHook(doStuff);

/*