User:RyanIsALeaf/global.js

/* Monchomans chat hacks */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c');

importScriptPage( 'SkinSwitchButton/code.js', 'dev' ); importScriptPage('AjaxBatchDelete/code.js', 'dev'); importScriptPage( 'FastDelete/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('FastDelete/code.js', 'dev'); importScriptPage('FixWantedFiles/code.js', 'dev'); importScriptPage('Client.js', 'wikimarks'); /* 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";/*]]>*/ ');} }