User:Dross/global.js

// Automated purge confirmation if ( mw.config.get( 'wgAction' ) === 'purge' ) { $('form[action*="action=purge"]').submit; }

// Gadgets mw.loader.load( '//meta.miraheze.org/w/index.php?title=User:Dross/gadgets.js&action=raw&ctype=text/javascript' );

/* NOTE: Relative URLs will load on a per-wiki basis. */

// Link to my CentralAuth $('li#pt-userpage').after( 	'' + //Line breaks bc one line HTML is a peeve of mine		'🌎' +	'' );

// Toolbox links mw.loader.load( '//meta.miraheze.org/w/index.php?title=User:Dross/links.js&action=raw&ctype=text/javascript' );

// Clean up deleted wiki links displaying as "miraheze.org" in CentralAuth (T5631 marked WONTFIX) if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'CentralAuth' ) { $( 'a[href^="https://miraheze.org/wiki/User:"]' ).parent.parent.remove; // I don't think I need to target the element more clearly, but we'll see }