User:BrentSimpson/monobook.js

function myProjects { var mytalk = document.getElementById("pt-mytalk"); if (mytalk) { var projecttab = document.createElement('li'); projecttab.setAttribute('id', 'jtproject'); projecttab.innerHTML = 'my projects'; mytalk.parentNode.insertBefore(projecttab, mytalk); } }

function cleanPages { var pages = ["/Online_manual", "/Training_resource_development_for_eXe",]; for (var i in pages) { if (window.location.pathname.indexOf(pages[i]) == 0) { document.getElementById("p-logo").innerHTML=''; } } }

function runOnloadHook { myProjects; cleanPages; }

addOnloadHook(function {importScript('User:JimTittsler/googlesearch.js');});