Version compl�te: jsB@nk » Utilitaire » Temps de chargement de contenu
URL: https://www.javascriptbank.com/time-to-load-content.html
Utilisez cette JavaScript de montrer combien de temps il faut pour charger une page. Une minuterie commence lorsque la page commence à se lire et se termine quand il a terminé le chargement de tous les contenus.
Version compl�te: jsB@nk » Utilitaire » Temps de chargement de contenu
URL: https://www.javascriptbank.com/time-to-load-content.html
<script type="text/javascript"><!-- Begin/*Created by: Abraham Joffe :: http://www.abrahamjoffe.com.au/ */var startTime=new Date();function currentTime(){ var a=Math.floor((new Date()-startTime)/100)/10; if (a%1==0) a+=".0"; document.getElementById("endTime").innerHTML=a;}var loopTime=setInterval("currentTime()",100);window.onload=function(){ clearTimeout(loopTime);}// End --></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<script type="text/javascript"><!-- Begin document.write('This page took <span id="endTime"></span> seconds to load.');// End --></script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->