User:Doork/global.js

/* Scripts */ importScriptPage('User:Doork/Doork-code','doork');

/* Global ChatJS (saw in Speedit's global.js */ $('a[href="/wiki/Special:Chat"], .chat-join button').click(function(e) { e.preventDefault; var cw = window.open('/wiki/Special:Chat?useskin=oasis'); cw.onload = function { cw.importScriptPage('User:Doork/Doork-ChatCode', 'doork'); } });