User:Duncan Ravenclaw/global.js

importScriptPage('SkinSwitchButton/code.js', 'dev'); importScriptPage('Sine/code.js', 'dev'); importScriptPage('InactiveUsers/code.js', 'dev'); importScriptPage('EditIntroButton/code.js', 'dev'); importScriptPage('PurgeButton/code.js', 'dev'); importScriptPage('BackToTopButton/code.js', 'dev'); importScriptPage('Mediawiki:FindReplace.js', 'kangaroopower'); importScriptPage('FixWantedFiles/code.js', 'dev'); importScriptPage('Client.js', 'wikimarks'); importScriptPage('HideRail/code.js', 'dev'); /* get all personal code files in chat */ $(setTimeout('ChatCheck', 200)); function ChatCheck { if($('.chat-join button').length != 0) { $('.chat-join button').replaceWith('Join the Chat'); } else { setTimeout('ChatCheck', 200); } } function OpenChatWindow { window.chatwindow = window.open('/wiki/Special:Chat'); window.chatwindow.onload = function {window.chatwindow.$('body').prepend(' /*<![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');