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

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
DaimonBot (discussione | contributi)
m Rimozione del Wikipedia:Monobook.js, deprecato da 5 anni, termine per la sostituzione superato (vedi disc) using AWB
Etichetta: Svuotamento
 
(77 versioni intermedie di 3 utenti non mostrate)
Riga 1:
buttonPurge = 1
 
/* barra di modifica */
function FastOpen() {
var Box = document.getElementById("searchBody");
if (!Box) return;
var menu = document.createElement("select");
menu.id = "menuVeloce";
menu.options[menu.length] = new Option("Modifica", "http://it.wikipedia.org/w/index.php?title="+wgPageName+"&action=edit");
menu.options[menu.length] = new Option("Cron", "Modifica", "http://it.wikipedia.org/w/index.php?title="+wgPageName+"&action=history");
menu.options[0].selected = true;
Box.appendChild(menu);
 
var p = document.createElement("BUTTON");
var buttext = document.createTextNode('Ok');
p.appendChild(buttext);
p.onclick = openWindow;
Box.appendChild(p);
return;
}
function openWindow()
{
window.open(document.getElementById("menuVeloce").value);
}
addOnloadHook(FastOpen);