User:Fwy/global.js

importArticles({   type: 'script',    articles: [        'u:dev:Message/code.js',        'u:dev:Translator/Translator.js',        'u:dev:AjaxPatrol/code.js',        'u:dev:AutoEditDropdown/code.js',        'w:c:dev:FastDelete/code.js',    ] });

if ( wgPageName == "Especial:Chat" ) { importArticles({   type: 'script',    articles: [        'w:c:pt-br.does:Usuário:Fwy/globalchat.js',    ] }); };

window.onload = mudUrl; function mudUrl { var cls = document.getElementsByClassName("avatar-container"); var tagN = cls[0].getElementsByTagName("img")[0]; var rep = tagN.src.replace(tagN.src.substr(-48), ""); tagN.src = rep; tagN.setAttribute("width", "28px"); tagN.setAttribute("height", "28px"); }