homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

Webpage redirection time

Msg#: 4524184 posted 6:03 pm on Dec 1, 2012 (gmt 0)

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.example.com/" from my Facebook profile.
Second Event: Time of completely loading webpage of "http://www.example.com/".

Thank you in advance.

[edited by: tedster at 3:26 am (utc) on Dec 4, 2012]
[edit reason] swtch to example.com [/edit]



WebmasterWorld Senior Member penders us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

Msg#: 4524184 posted 5:19 pm on Dec 12, 2012 (gmt 0)

This isn't a JavaScript question - which probably accounts for the lack of response.

You need to use some kind of browser tool. The timeline in Chrome developer tools might be able to help you.


Msg#: 4524184 posted 7:20 am on Dec 13, 2012 (gmt 0)

Thank you for your responses.
I decided to go ahead with firebug for Firefox and Developer Tools for Chrome.
My problem is solved.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved