# User:Kernigh/monobook.js

Note: After saving, you may have to bypass your browser's cache to see the changes.

Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy &amp; security → Clear browsing data → Cached images and files.

// 

<pre>

/*
 * Monobook script of Kernigh at NetHackWiki - public domain
 */

// load a script from some MediaWiki
function loadScript( wikiPhp, file ) {
  document.write('<script src="' +
    wikiPhp + '?title=' + file + '&amp;action=raw' +
    '&amp;ctype=text/javascript&amp;dontcountme=s" type="text/javascript"></script>');
}

// tagline.js config
scr = new Object();
scr.wikiUrl = "http://nethackwiki.com/wiki/";
scr.wikiPhp = "http://nethackwiki.com/index.php";

// wikialink.js config
function wikiabuttons() {
  addwb( "action", "oberin", "oberin.wikia.com/wiki/", "" );
  addwb( "action", "roguebasin", "roguebasin.roguelikedevelopment.org/index.php?title=", "" );
}

loadScript( "http://www.wikia.com/index.php", "User:Kernigh/sysop.js" );
loadScript( "http://www.wikia.com/index.php", "User:Kernigh/tagline.js" );
loadScript( "http://www.wikia.com/index.php", "User:Kernigh/wikialink.js" );

// </pre>