Jump to content

User:Ioeth/friendlytabs.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ioeth (talk | contribs) at 19:36, 15 November 2007 (updated). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
function fixtabs() 
{ 
	if(document.getElementById('ca-nstab-project')) {
		document.getElementById('ca-nstab-project').firstChild.innerHTML = 'project';
	}
	if(document.getElementById('ca-nstab-user')) {
		document.getElementById('ca-nstab-user').firstChild.innerHTML = 'user';
	}
	if(document.getElementById('ca-delete')) {
		document.getElementById('ca-delete').firstChild.innerHTML = 'del';
	}
	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(document.getElementById('ca-talk')) {
		document.getElementById('ca-talk').firstChild.innerHTML = 'talk';
	}
}
 
addOnloadHook(fixtabs);