It is a javascript here is the code that I can produce:
Code:
<html>
<script language="JavaScript">
<!--
//Speed Testing script
//Written by naveed afzal
naveed = new Date;
old_time = naveed.getTime();
-->
</script>
<body onload="t_time()">
You can put anything in body but change the file size according to it
<img src="http://members.lycos.co.uk/naveedafzal/logo.gif">
<script>
function t_time()
{
good = new Date;
new_time = good.getTime();
var total_time;
//Change the file size below to your own file size
var f_size=976;
total_time =f_size/(new_time-old_time);
document.write("Time taken is "+total_time);
}
</script></body></html>
Hope it would help all of you.
Bookmarks