User:CoRrRan/monobook.js
From Guild Wars Wiki
Jump to navigationJump to search
Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/**** Guild Wars Wiki Tools * (c) 2007 by Patrick Westerhoff [poke] */ var head = document.getElementsByTagName( 'head' )[0]; var gwwtWatchlist = true; 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'; /**** Guild Wars Wiki Tools - GuildWiki Switch * (c) 2007 by Patrick Westerhoff [poke] */ function gwwtGuildWikiSwitch () { if ( wgNamespaceNumber < 100 ) { url = 'http://gw.gamewikis.org/wiki/' + wgCanonicalNamespace + ':' + wgTitle; new PortletArea( 'p-cactions' ).addItem( 'gwwt-gwiki', 'GWiki', url, 'See this page on GuildWiki' ); } } hookEvent( 'load', gwwtGuildWikiSwitch ); /**** Galil's Ajaxifier -START- */ // 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); /**** Galil's Ajaxifier -END- */