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
 
(80 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 form = document.createElement("form");
Box.appendChild(form);
form.action = "/index.php?title="+wgPageName+"&action=";
form.target = "_blank";
var c = document.createElement("input");
form.appendChild(c);
c.type = "text";
// c.setAttribute('name', "title");
c.size = "20";
var menu = document.createElement("select");
form.appendChild(menu);
// menu.setAttribute('name', "action");
menu.options[menu.length] = new Option("Modifica", "edit", true);
menu.options[menu.length] = new Option("Cron", "history");
 
var p = document.createElement("input");
p.type = "submit";
p.value = "Ok";
form.appendChild(p);
return;
}
addOnloadHook(FastOpen);