Utente:Lenore/monobook.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Lenore (discussione | contributi)
debug
Lenore (discussione | contributi)
Ripristino alla versione [http://it.wikinews.org/w/index.php?title=Utente%3ALenore%2Fmonobook.js&oldid=885630 885630]
Riga 183:
importScript('Utente:Lenore/HotCat.js');
 
addLoadEventaddOnloadHook (function () {
 
// HotCat: mette un pulsante per abilitarlo e disbilitarlo
 
document.body.innerHTML = document.body.innerHTML + showhideCatLinksButton;
hideCatLinks;
var hotCatLinks = document.getElementsByClassName('hotcatlink');
for (i=0; i<hotCatLinks.length-1; i++) {
hotCatLinks[i].style.display = "none";
}
document.getElementById('showhideCatLinksButton').onclick = "showCatLinks();";
 
});