Ti ringrazio, ma per evitare:

else {
alert('non ho trovato http://');
}

???