JavaScript Web Page Load Time

Cost-free and advertising-free. But a link to this page is appreciated.
Note: This service comes with NO GUARANTEES. No liability is assumed.

  • A free and simple JavaScript (DHTML) Web Page Load Time. Just copy and paste at the top of your Web pages, perhaps right after the opening <html> tag. The load time, in seconds, will be displayed at the bottom of your page, unless the "PLT_DisplayElementID" parameter is assigned to the id of a tag anywhere on the page that can accept the innerText property (i.e. block elements), such as a div or span tag. In that case the result is dispalyed at the location of that tag. You can also customize the display format, foreground and background colors, and font size of the message. Currently works in latter versions of Internet Explorer. No message is displayed in other browsers.
  • This utility measures the load time of a Web page from the client's perspective. Load times are subject to connection speeds, client and browser configurations, and response times for all elements on the entire page.
  • You can omit the "PLT_BackColor", "PLT_ForeColor", "PLT_FontPix", and "PLT_DisplayFormat" parameters. Default values will be used in that case.
  • "PLT_DisplayFormat" allows you to format the message display to your liking. For example, instead of the default English, you can use terms from your own language, or make any other desired adjustments.
  • Set "PLT_DisplayElementID" to the id of a tag on your page that has the "innerText" property (i.e. block elements), such as a div or span tag. If such tag is missing or not found, the result is printed at the bottom of the page.
  • To see the load time of any Web page use the Page Load Timer tool.


    Here's the simple JavaScript Web page load time code (copy and paste at the top of Web page):
    <script language="JavaScript">
    PLT_DisplayFormat = "Your connection took %%S%% seconds to load this page.";
    PLT_BackColor = "palegreen";
    PLT_ForeColor = "navy";
    PLT_FontPix = "12";
    PLT_DisplayElementID = "display_here";
    </script>
    <script language="JavaScript" src="http://www.hashemian.com/js/PageLoadTime.js"></script>
    Example: The line below is coded as: <span id="display_here"></span>.


  • Have a comment about JavaScript Web Page Load Time?
    View/Add comments

    *** FREE from hashemian.com *** see descriptions
    JavaScript Countdown/Count-up Timer/Clock JavaScript Web Page Load Time JavaScript Web Page Commenting JavaScript Visitor IP Address/Host
    HTML Form Submission Tool Email/String Encoder/CAPTCHA Hit Counter; Page Counter Connection Probe
    Reverse Whois Browser Simulator/emulator My IP Address, Whoami Whois
    Mail Exchanger (MX Record) Lookup Search Engine Rankings JavaScript Thousand Separator Windows File Search Utility
    Atomic Clock/Current Time Short/Small URLs Atomic Fortune Teller Port Scanner
    Generate Password Google/Yahoo Maps Web Page Load Timer Ping
    HTML, URL, Decimal Encoding/Decoding Form Post Tester/Viewer Web Scratchpad/Notepad/Clipboard RSS/ATOM Web Widget


    Read Financial Markets  |   Home  |   Blog  |   Web Tools  |   News  |   Articles  |   FAQ  |   About  |   Contact

    © 2001-2008 Robert Vahid Hashemian
    Support the effort
    Liked this page?
    Please consider creating a link to it
    from your Web site.

    hashemian.com
    هاشمیان.com

     Home

     Blog

     Web Tools Add Free Web Tools custom Google Toolbar button (Requires Toolbar >V4)
    Usage

     News

     Articles

     FAQ

     About

     Contact

     Financial Markets Book
    Read Complete Book



    CE
    IH9 Black Alarm Clock for Ipod
    $143.66


    WIRELESS
    Displex Display Scratch Remover & 10 100% Pure Cotton Application Patches
    $8.99


    KITCHEN
    USB Data Cable For LG CU515, CU575, TRAX, CU720 Shine
    $59.99


    MUSIC
    The Reminder
    $13.98


    DVD
    Inside iPod
    $9.98

    more…



    aStore - Hashemian.com on Amazon

    Visits: Powered by hashemian.com

     

     

     

     

     

    Search Hashemian.com





    Apple iPod Video Black (60 GB, MA147LL/A) Digital Me...
    $0.99
    Ends: Wed May 21, 2008 06:19:12 EST


    Audio 3.5MM Stereo RCA Y-Adpater Cable for iPhone iPod
    $5.99
    Ends: Wed May 21, 2008 06:19:14 EST


    Nike AMP + iPod Nano REMOTE Watch Black Anthracite NIP
    $79.99
    Ends: Wed May 21, 2008 06:19:21 EST

    750mAh HIGH BATTERY FOR APPLE IPOD mini,EC003 MANU+TOOL
    $9.53
    Ends: Wed May 21, 2008 06:19:29 EST

    1200mAh HIGH BATTERY FOR APPLE IPOD 4,Photo+MANUAL+TOOL
    $8.58
    Ends: Wed May 21, 2008 06:20:16 EST

    more…