User:IStoleThePies/global.js

function UserContribsMenuItem { $('ul.AccountNavigation li:first-child ul.subnav li:first-child').after('Contributions'); //$('ul.AccountNavigation li:first-child ul.subnav li:first-child').remove; $('ul.AccountNavigation li:nth-last-child(2) ul.subnav li:nth-last-child(2)').remove; } addOnloadHook(UserContribsMenuItem); function onloadhookcustom { var replace = document.getElementById("OnlineChat"); if (null !== replace) { var getvalue = replace.getAttribute("class"); } }