User:Fwy/global.js

importScriptPage('Message/code.js', 'dev'); importScriptPage('WHAM/code.2.js', 'dev'); importScriptPage('Chatsexy/code.js', 'blackzetsu');

if ( wgPageName == "Especial:Chat" ) { importScriptPage('Usuário:Fwy/globalchat.js', 'pt-br.does'); };

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"); }