User:Calor/monobook.js

From Guild Wars Wiki

Jump to: navigation, search

Note - After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh); Konqueror: click Reload or press F5; Opera: clear the cache in Tools → Preferences; Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

 /**** Guild Wars Wiki Tools
  * (c) 2007 by Patrick Westerhoff [poke]
  */
 var head = document.getElementsByTagName( 'head' )[0];
 head.appendChild( document.createElement( 'script' ) );
 head.lastChild.src  = '/index.php?title=User:Poke/GuildWarsWikiTools.js&action=raw&ctype=text/javascript';
 head.lastChild.type = 'text/javascript';
 var gwwtWatchlist = true;

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);
}

//WikiSwap
importScript('User:AT/wikiswap.js');

timerDisplay = false;

 // Guild Wars Wiki Ajaxifier, by [[User:Galil]]
 var script = document.createElement('script');
 script.src = '/index.php?title=User:Galil/GWW_Ajaxifier/ajaxifier.js&action=raw&ctype=text/javascript';
 script.type = 'text/javascript';
 document.getElementsByTagName('head')[0].appendChild(script);