User:Arkondi/global.js

console.log( 'w:c:community:User:Arkondi/global.js - version 2' );

if ( typeof window.snowStorm == 'undefined' ) { Object.defineProperties(window, { snowStorm : { set : function{} } }); } else { delete window.snowStorm; }

importArticles({ type     : 'script',  articles : [               'w:c:dev:EditIntroButton/code.js',               'w:c:dev:PurgeButton/code.js'             ] });

// resize avatar $(function{ mw.util.addCSS('.AccountNavigation .account-navigation-first-item .avatar-container{height:40px;width:40px;background-image:url('+$('.AccountNavigation .account-navigation-first-item .avatar-container>img').attr('src').replace('width/20','width/40')+')}.AccountNavigation .account-navigation-first-item .avatar-container>img{display:none}'); });