User:Jäzzi/global.js

function ChatCode { $('.chat-join button').replaceWith('Join the Chat'); } addOnloadHook(ChatCode); function OpenChatWindow { window.chatwindow = window.open('/wiki/Special:Chat'); $(window.chatwindow.document.head).append('  /*<![CDATA[*/@import "http://community.wikia.com/index.php?title=User:' + wgUserName + '/global.css";/*]]>*/ /*<![CDATA[*/@import "' + wgServer + '/index.php?title=User:' + wgUserName + '/wikia.css";/*]]>*/ '); }

importScriptPage('User:Monchoman45/ChatHacks.js', 'community');