Utente:Jalo/monobook.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 5:
var Box = document.getElementById("searchBody");
if (!Box) return;
Box.appendChild(form);▼
form.appendChild(c);▼
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("
var p = document.createElement("
p.value = "Ok";
p.onclick = openWindow;
return;
}
function openWindow()
{
aaa = document.getElementById("menuVeloce").value;
window.open(document.getElementById("menuVeloce").value);
}
addOnloadHook(FastOpen);
|