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' );

// Make CentralNotice go away because apparently cookies don't take care of it globally if ( $("div.cn-MirahezeCDcommission2019").length ) { $("div#cnotice-toggle-box>a").click; }