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

Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 7:
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");
menu.options[0].selected = true;
Box.appendChild(menu);
 
Riga 21 ⟶ 22:
function openWindow()
{
aaa = document.getElementById("menuVeloce").value;
window.open(document.getElementById("menuVeloce").value);
}