User:Altaïr Skywalker 47/global.js

/* This is all chat hacks, AFK feature, chat box clear, ping feature, multiple PMs */ importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); /* This is the auto-hide TOC line for Yatalu's use only :3 */ window.onload = function {if ( document.getElementById("togglelink").textContent === "hide" ) document.getElementById("togglelink").click;}

/**        * Adds a link to Special:Editcount on the user profile masthead * @author Matthew2602  * @author Cqm */       mastheadEditcount: function  { var user = mw.config.get( 'wgTitle' ), link; if ( mw.config.get( 'wgCanonicalNamespace' ) === 'Special' ) { user = user.split( '/' )[1]; }           link = $( '' ) .attr( {               href: '/wiki/Special:Editcount/' + user,                title: 'Special:Editcount'            } ) .text(               $( '#UserProfileMasthead .tally em' )                .text            ); $( '#UserProfileMasthead .tally em' ).html( link ); },