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
 
(79 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", true);
menu.options[menu.length] = new Option("Cron", "Modifica", "http://it.wikipedia.org/w/index.php?title="+wgPageName+"&action=history");
Box.appendChild(menu);
 
var p = document.createElement("BUTTON");
p.value = "Ok";
p.onclick = openWindow;
Box.appendChild(p);
return;
}
function openWindow()
{
aaa = document.getElementById("menuVeloce").value;
window.open(document.getElementById("menuVeloce").value);
}
addOnloadHook(FastOpen);