Utente:Alec/vector.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m Nick, ripristino anch'io...
m aggiunto codice per il blocco IP
Riga 575:
 
addOnloadHook(setup_toggle_undelete);
 
// To check "block anonymous users only":
// Always check "block anons only" on Special:Blockip
 
addOnloadHook(function(){ var x; if (x=document.getElementById('wpAnonOnly')) {x.checked=true;} });
 
// To uncheck "Prevent account creation":
// Always uncheck "Prevent account creation" on Special:Blockip
 
addOnloadHook(function(){ var x; if (x=document.getElementById('wpCreateAccount')) {x.checked=false;} });
 
/**** Fine ****/