[Qt-interest] How to know when a web page is loaded when using QtWebKit?

Piotr Dobrogost pd at news.qt.dobrogost.pl
Thu Aug 20 15:08:41 CEST 2009


Andrew Hodgkinson wrote:

> The possibilities for external data loading with JavaScript are almost 
> boundless. Scripts may fetch data indefinitely, e.g. repeatedly replace 
(...)

Thanks for your comments. They all are valuable and it seems all are true.
Having said that I have to find a way to get the data in my case :) I 
think it could be possible because
1. I don't deal with unknown sites but work with given, well known set 
of sites.
2. Ajax calls used by sites are "well defined" in this they are used 
only to retrieve data requested by user. There's one such a call per 
page and this call is triggered by submitting a form by user. There are 
no timers and no following refreshes once data have been fetched.

Any ideas?


-- 
Piotr Dobrogost

"Break C++ and the major implementations of Java and C# would also 
break" - Bjarne Stroustrup



More information about the Qt-interest-old mailing list