User:Zyer/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.js',        // Keeping private messaging history for a rainy day        'u:doru:User:Dorumin/privatehistory.js',        // Tweaks necessary for my Discord chat theme        'u:doru:User:Dorumin/discord.js',        // For the stuff I'm too lazy to type out, or too lazy to click so I type out        'u:doru:User:Dorumin/commands.js',        // Pingz        'u:doru:User:Dorumin/pings.js',        // JavaScript to make header PMs list possible        'u:doru:User:Dorumin/privateheader.js',        // AFK Button that doesn't screw up the automatic inactivity away        'u:doru:User:Dorumin/awaybutton.js',        // Bootleg ChatTimestamps        'u:doru:User:Dorumin/timestamps.js',        // Fix inconsistent scroll        'u:doru:User:Dorumin/scrollfix.js', // Fix dumb encoding on dumb names with ' and & 'u:doru:User:Dorumin/fixencoding.js', // Add previews to YouTube links so my lazy ass doesn't have to move the mouse 'u:doru:User:Dorumin/youtubepreview.js', // Let me check notifications while in chat 'u:doru:User:Dorumin/notifications.js', ].map(function(script) {       return script.replace('.js', '.​js');    }) }); // Because I'm too lazy to do a service worker for GlobalChatCSS if (wgCityId !== '177') { }   importStylesheetPage('User:Dorumin/chat.css', 'c');