Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Dec 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Calculate time consumed in redirecting from 1 webpage to another webpage

    Hi all,

    I want to calculate time consumed in redirecting from 1 webpage to another webpage.
    For Example:
    1) I am using Facebook in Google Chrome browser.
    I have shared 1 link on my Facebook profile like below:

    http://www.webdeveloper.com/

    2) When I click on this link from my Facebook profile, then this website will open in new tab.

    3) I want to calculate time difference in miliseconds or microseconds between below two events:
    First Event: Time of clicking link "http://www.webdeveloper.com/" from my Facebook profile.
    Second Event: Time of completely loading webpage of "http://www.webdeveloper.com/".

    Thank you in advance.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,666
    Thanks
    6
    Thanked 1,006 Times in 979 Posts
    Good for you. But is this a question or did you just share your thoughts? In any case, you’ve posted in the wrong forum as the “Post a JavaScript” forum is just for completed and working scripts. Please familiarize yourself with the forum rules and posting guidelines before posting.

  • #3
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,335
    Thanks
    11
    Thanked 588 Times in 569 Posts
    performance.timing will give you the dates you need in firebug/webtools.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/5/28) IE7:0.1, IE8:5.3, IE11:8.4, IE9:3.2, IE10:3.2, FF:18.2, CH:46, SF:7.9, NON-MOUSE:32%


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •