User:Coeee/chat.js

if (mw.config.get('wgCanonicalSpecialPageName') === 'Chat') { importScriptPage('ChatNotifications/code.js', 'dev'); }

importScriptPage( 'ChatObject/code.js', 'dev' );