User:Paginazero/vector.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); }

addOnloadHook(addTools);

/* */