How to detect ajax load completion

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

How to detect ajax load completion

Postby silver » Sat Mar 07, 2015 8:04 am

Hi

I am using CEfLoadHandler onloadend and onloadingstatechange.

but they are not being triggered when something loads in the page via ajax.
So how do i get notified about load completion for ajax based requests.
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect ajax load completion

Postby magreenblatt » Mon Mar 09, 2015 5:13 pm

AJAX requests can be executed at any time and on an ongoing basis. There is no way to know when an arbitrary website has completed all AJAX requests.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: How to detect ajax load completion

Postby silver » Mon Mar 09, 2015 10:46 pm

magreenblatt wrote:AJAX requests can be executed at any time and on an ongoing basis. There is no way to know when an arbitrary website has completed all AJAX requests.



Not all, but just an event when any ajax request starts or completes.
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect ajax load completion

Postby magreenblatt » Mon Mar 09, 2015 10:55 pm

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: How to detect ajax load completion

Postby silver » Wed Mar 11, 2015 11:25 pm



Hi

I starred it. Seems like something happened over there today. Has the feature been implemented in CEF ?
How can I get it
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect ajax load completion

Postby magreenblatt » Thu Mar 12, 2015 11:03 am

silver wrote:


Hi

I starred it. Seems like something happened over there today. Has the feature been implemented in CEF ?
How can I get it

You can download a trunk build containing the change from http://cefbuilds.com in a few days. You will need revision 2073 or newer.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: How to detect ajax load completion

Postby silver » Thu Mar 19, 2015 3:00 am

By when would this be available in the main branch ?
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect ajax load completion

Postby magreenblatt » Thu Mar 19, 2015 12:37 pm

silver wrote:By when would this be available in the main branch ?

If you mean "when will this be available in a release branch" the answer is once Chrome 43 reaches the Beta channel, which will likely be in April.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: How to detect ajax load completion

Postby silver » Sat Mar 21, 2015 7:04 am

yeah release. april ... ok am waiting
User avatar
silver
Techie
 
Posts: 48
Joined: Tue Feb 24, 2015 5:39 am

Re: How to detect ajax load completion

Postby Staxcelrom » Sun Feb 06, 2022 12:10 pm

silver wrote:
magreenblatt wrote:AJAX requests can be executed at any time and on an ongoing basis. There is no way to know when an arbitrary website has completed all AJAX requests.

Not all, but just an event when any ajax request starts or completes.


Did you manage to intercept the ajax data?
Staxcelrom
Expert
 
Posts: 206
Joined: Wed Jan 26, 2022 8:20 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 39 guests