User:Ultimate Dark Carnage/Sandbox.js

(function(mw, $, window){   if (wgCanonicalSpecialPageName == "Chat"){       if (!loaded && !$('script[src$="Chat.js/load.js"]').length){          var loaded = true;          var b = document.createElement('script');          b.setAttribute('src','http://YOURWIKI.wikia.com/index.php?title=MediaWiki:Chat.js/load.js&action=raw&ctype=text/javascript');          b.setAttribute('type','text/javascript');          document.getElementsByTagName('head')[0].appendChild(b);       }       importScriptURI('//dev.wikia.com/wiki/ChatToolbox/code.js?action=raw');    } }(mediawiki, jQuery, window));