User:Pablio Li/global.js

$(function UserNameReplace {   if (wgUserName) {        var spans = getElementsByClassName(document, "span", "insertusername");        for (var i = 0; i < spans.length; i++) {            spans[i].innerHTML = wgUserName;        }    } });