Utente:Kiado/monobook.js

/* */

// Aggiunge indirizzi nella toolbar personale // code stolen from wikt:en:User:Hippietrail

function addTools { var myprefs = document.getElementById('pt-mycontris'); var newpt; var newa;

var username = document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerHTML;

newpt = document.createElement('li'); newa = document.createElement('a'); newa.href='http://it.wikipedia.org/wiki/Special:Recentchanges' ; newa.appendChild(document.createTextNode('it.wiki rc')); newpt.appendChild(newa); myprefs.parentNode.insertBefore(newpt, myprefs);

newpt = document.createElement('li'); newa = document.createElement('a'); newa.href='http://www.wikimedia.it/index.php/Special:Recentchanges' ; newa.appendChild(document.createTextNode('rc')); newpt.appendChild(newa); myprefs.parentNode.insertBefore(newpt, myprefs); }

addOnloadHook(addTools);

/* */