Utente:Sanjilops/monobook.js: differenze tra le versioni
Vai alla navigazione
Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 70: | Riga 70: | ||
//disablehideEdit=1; |
//disablehideEdit=1; |
||
function createAlert () { |
function createAlert () { |
||
Riga 75: | Riga 76: | ||
if ( Alert.getAttribute('id') == "alert" ) { |
if ( Alert.getAttribute('id') == "alert" ) { |
||
var stringa = Alert.innerHTML; |
var stringa = Alert.innerHTML; |
||
document.getElementsByTagName('body')[0] |
var bodyElem = document.getElementsByTagName('body')[0]; |
||
bodyElem.setAttribute( 'onLoad' , 'alert(stringa)' ); |
|||
} |
} |
||
} |
} |