User:Randomtime/monobook.js

// This is my .js, it has been copied from other sources, but is fairly good. // ***** ADDITIONAL LINKS *****

function addBar { document.getElementById('p-navigation').innerHTML += ' '+ ' '+ ' Admin links '+ ' '+ // Begin links to other pages 'Deletion Candidates'+ 'Banning Candidates'+ 'Logs'+ 'Watchlist</li>'+ '<a href=\"/wiki/Special:Prefixindex">Prefix Index</a></li>'+ '<a href="irc://irc.gamesurge.net/gwiki">IRC</a></li>'+ // Links end '</ul> '; } //Close addBar

addOnloadHook(addBar); //Call addBar on load

function importScript(page, lang) { var url = wgScriptPath + '/index.php?title=' + encodeURIComponent(page.replace(' ','_')) + '&action=raw&ctype=text/javascript&dontcountme=s'; if (lang) url = 'http://' + lang + '.wikipedia.org' + url; var s = document.createElement('script'); s.src = url; s.type='text/javascript'; document.getElementsByTagName('head')[0].appendChild(s); } /* End of additional links

Next .js code is AT's wikiswap.js, although I don't use gww, it's useful WikiSwap*/ importScript('User:AT/wikiswap.js');

/* This is wikEd, probably the best mediawiki extention, I also have this as a grecemonkey script, so this Script is disabled by defult, unless i'm mobile

install User:Cacycle/wikEd in-browser text editor*/

document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript"></' + 'script>');

//That's my .js, hope you had fun, these notes are more for me than for anyone else though