User:Cactus.man/Scripts/ChangeTitles.js

//

////////////////////////////////////////////////////////////////////////////////////////////////////////// // Changes the titles of items in the personal toolbar and some tabs // adapted from (http://en.wikipedia.org/wiki/User:Trilobite/Tools) //////////////////////////////////////////////////////////////////////////////////////////////////////////

function changetitles { if(!document.getElementById) return; document.getElementById('pt-mytalk').firstChild.innerHTML = 'Talk page'; document.getElementById('pt-preferences').firstChild.innerHTML = 'Preferences'; document.getElementById('pt-watchlist').firstChild.innerHTML = 'Watchlist'; document.getElementById('pt-mycontris').firstChild.innerHTML = 'Contributions'; document.getElementById('pt-logout').firstChild.innerHTML = 'Log out'; 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);

//