User:Addshore/Changetitles.js

function changetitles { if(!document.getElementById) return; document.getElementById('pt-mytalk').firstChild.innerHTML = 'my talk'; document.getElementById('pt-preferences').firstChild.innerHTML = 'prefs'; document.getElementById('pt-watchlist').firstChild.innerHTML = 'Watch'; document.getElementById('pt-mycontris').firstChild.innerHTML = 'Contribs'; document.getElementById('pt-logout').firstChild.innerHTML = 'L-O'; if(document.getElementById('ca-nstab-user')) document.getElementById('ca-nstab-user').firstChild.innerHTML = 'user'; if(document.getElementById('ca-talk')) document.getElementById('ca-talk').firstChild.innerHTML ='talk'; if(document.getElementById('ca-edit')) document.getElementById('ca-edit').firstChild.innerHTML = 'edit'; if(document.getElementById('ca-history')) document.getElementById('ca-history').firstChild.innerHTML = 'hist'; } if (window.addEventListener) window.addEventListener("load",changetitles,false); else if (window.attachEvent) window.attachEvent("onload",changetitles);