User:ScottGeoffrey/Javascript
From WikiEducator
//***Put the following in User:YourUserNameHere/monobook.js //***Creates a Projects button by the Watch button in the monobook style that links to User:YourUserNameHere/Projects*** function runOnloadHook() { var watchtab = document.getElementById("ca-watch") || document.getElementById("ca-unwatch"); if (watchtab) { var projecttab = document.createElement('li'); projecttab.setAttribute('id', 'jtproject'); projecttab.innerHTML = '<a href="/User:'+wgUserName+'/Projects">Projects</a>'; watchtab.parentNode.insertBefore(projecttab, null); } }