»
Tiếng AnhTiếng PhápTiếng Việt

In - Thời gian tải trang web - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Ứng dụng » Thời gian tải trang web
URL: https://www.javascriptbank.com/calculate-time-to-load-page.html

Thời gian tải trang web © JavaScriptBank.comChỉ cần một chút sáng tạo cộng với một đoạn JavaScript đơn giản, ta có thể hiển thị thời gian tải một trang web nào đó.

Phiên bản đầy đủ: jsB@nk » Ứng dụng » Thời gian tải trang web
URL: https://www.javascriptbank.com/calculate-time-to-load-page.html



JavaScript
<script type="text/javascript">/*    xxxxxxxxxxxxxxx   xxxxxxxxxxx     xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx         xxxxx       xxxxxxxxxxxx     xxxx         xxxxx       xxxxx  xxxx         xxxxx xxxxxxxxxxxx  xxxx         xxxxx xxxxxxxxxxxxx  xxxxxxxxxxxwww.JavaScriptBank.com         xxxxx  xxxxxxxxxxxx  xxxxxxxxxxxxx         xxxxx        xxxxx  xxxx     xxxx   xxx   xxxxx  xxxxxxxxxxxx    xxxx     xxxx   xxx  xxxxxx xxxxxxxxxxxxx  xxxx     xxxx   xxxxxxxxxx xxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxxxxxx  xxxxxxxxxxx      xxxxxxxxxxx      Calculate time to load pageAuthor: Thái Cao PhongWebsite: www.JavaScriptBank.comPlease keep these comments above to contact author when you use this script. Thank you very much.Vietnamese: Xin ban hay giu lai nhung thong tin tren de nguoi khac co the lien he voi tac gia neu ban co su dung doan ma nay. Cam on ban rat nhieu.*/var sT=new Date();var SS=sT.getSeconds();var SsT=sT.getMilliseconds();function copyAll(obj){obj.focus();obj.select();var command=obj.createTextRange();if(command.execCommand('Copy')){alert("Copy complete");}}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<script type="text/javascript">/*    xxxxxxxxxxxxxxx   xxxxxxxxxxx     xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx         xxxxx       xxxxxxxxxxxx     xxxx         xxxxx       xxxxx  xxxx         xxxxx xxxxxxxxxxxx  xxxx         xxxxx xxxxxxxxxxxxx  xxxxxxxxxxxwww.JavaScriptBank.com         xxxxx  xxxxxxxxxxxx  xxxxxxxxxxxxx         xxxxx        xxxxx  xxxx     xxxx   xxx   xxxxx  xxxxxxxxxxxx    xxxx     xxxx   xxx  xxxxxx xxxxxxxxxxxxx  xxxx     xxxx   xxxxxxxxxx xxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxxxxxx  xxxxxxxxxxx      xxxxxxxxxxx      Calculate time to load pageAuthor: Thái Cao PhongWebsite: www.JavaScriptBank.comPlease keep these comments above to contact author when you use this script. Thank you very much.Vietnamese: Xin ban hay giu lai nhung thong tin tren de nguoi khac co the lien he voi tac gia neu ban co su dung doan ma nay. Cam on ban rat nhieu.*/var eT=new Date();var ES=eT.getSeconds();var SeT=eT.getMilliseconds();var second=(ES-SS);if(second<0) second*=(-1);var ms=(SeT-SsT);if(ms<0) ms*=(-1);var time=ms+second;document.write(ms/1000+second); // in thoi in tai trang web</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->