User:Fwy/global.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"); }