Jump to content

User:AzaToth/VoA.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by AzaToth (talk | contribs) at 10:30, 26 January 2007 (upd). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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-delete')) {
		document.getElementById('ca-delete').firstChild.innerHTML = '[d]';
	}  
	if(document.getElementById('ca-move')) {
		document.getElementById('ca-move').firstChild.innerHTML = '[m]';
	}  
	if(document.getElementById('ca-watch')) {
		document.getElementById('ca-watch').firstChild.innerHTML = '[w]';
	}  
	if(document.getElementById('ca-unwatch')) {
		document.getElementById('ca-unwatch').firstChild.innerHTML = '[uw]';
	}
	if(document.getElementById('ca-edit')) {
		document.getElementById('ca-edit').firstChild.innerHTML = 'Edit';
	}
	if(document.getElementById('ca-talk')) {
		document.getElementById('ca-talk').firstChild.innerHTML = 'Talk';
	}
	if(document.getElementById('ca-protect')) {
		document.getElementById('ca-protect').firstChild.innerHTML = 'P (off)';
	}
	if(document.getElementById('ca-unprotect')) {
		document.getElementById('ca-unprotect').firstChild.innerHTML = 'P (on)';
	}
}
addOnloadHook(fixtabs);