View Full Version : Calculate time consumed in redirecting from 1 webpage to another webpage

12-01-2012, 02:22 PM
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:


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.

12-01-2012, 06:09 PM
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 (http://www.codingforums.com/rules.htm) and posting guidelines (http://www.codingforums.com/postguide.htm) before posting.

rnd me
12-02-2012, 12:44 AM
performance.timing will give you the dates you need in firebug/webtools.