SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Webpage redirection time

    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. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,702
    Mentioned
    101 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by AbhijeetM View Post
    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/".
    Web browsers now have timeline and profiling tools that can help you with that.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Dec 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your responses.
    I decided to go ahead with firebug for Firefox and Developer's tool for Chrome.
    My problem is solved.


Tags for this Thread

Bookmarks

Posting Permissions

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