I found a sample webpage that uses iframe and onreadystatechange to measure the time it take to load the page specified in the iframe.
What I want to do now is when the user clicks on a link within the iframe page is to intercept what page they are going to next and dynamically chage the iframe to that next page so that I can measure the next pages response time.
The end goal is to have a "simple" way to measure end user response time within a Web based application. We have used a third party product that does dynamic XHTML generation, based on templates and we do not want to have to modify every single template to measure this time. For users that are reporting performance problem we would like to have them go to our "measurement" link that will use the iframe/onreadystatechange method so that they can tell us what their real response time is.
I have search and I can't find any DOM object that seems to contain where the user is going next. I have triggerd a function based on clicking on a link within the iframe, but without knowing where they are going next, I'm stuck.
Start Free Trial