ci sto provando ma mi restituisce sempre numeri diversi che vanno dallo 0 a 800:
dove sbaglio???
<html>
<head>
<script language="javascript">
function velocita(){
var test = new Image();
var prima = new Date();
primas = prima.getMilliseconds();
test.src = "Untitled-1.jpg";
var dopo = new Date();
dopos = dopo.getMilliseconds();
var t_imp = dopos - primas;
alert ("timp="+ 104448 / t_imp);
}
</script>
</head>
<body onload="velocita();">
</body>
</html>