User:Dorumin/chat.js

// This is my chat.js, it is split up in multiple submodules listed below, sorted by importance. // You might want to reconsider copying these to your chat.js, considering I can change these anytime to steal your credentials. // But if you don't care about that, make sure to also import the .css for some of these tweaks aswell. // They're listed in my /chat.css

importArticles({   type: 'script',    articles: [        // Chat scripts and configuration for said scripts        'u:doru:User:Dorumin/imports.javascript',        // Keeping private messaging history for a rainy day        'u:doru:User:Dorumin/privatehistory.javascript',        // Tweaks necessary for my Discord chat theme        'u:doru:User:Dorumin/discord.javascript',        // For the stuff I'm too lazy to type out, or too lazy to click so I type out        'u:doru:User:Dorumin/commands.javascript',        // Pingz        'u:doru:User:Dorumin/pings.javascript',        // JavaScript to make header PMs list possible        'u:doru:User:Dorumin/privateheader.javascript',        // AFK Button that doesn't screw up the automatic inactivity away        'u:doru:User:Dorumin/awaybutton.javascript',        // Bootleg ChatTimestamps        'u:doru:User:Dorumin/timestamps.javascript',        // Fix inconsistent scroll 'u:doru:User:Dorumin/scrollfix.javascript', // Fix dumb encoding on dumb names with ' and & 'u:doru:User:Dorumin/fixencoding.javascript', // Add previews to YouTube links so my lazy ass doesn't have to move the mouse 'u:doru:User:Dorumin/youtubepreview.javascript', // Let me check notifications while in chat 'u:doru:User:Dorumin/notifications.javascript', ] });

// Because I'm too lazy to do a service worker for GlobalChatCSS if (wgCityId !== '177') { importStylesheetPage('User:Dorumin/chat.css', 'c'); }