target_url between OnBeforePopup and OnAfterCreated

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.

target_url between OnBeforePopup and OnAfterCreated

Postby damonkashu » Wed Jan 11, 2017 6:28 pm

Suppose I call window.open('foo?blah=1'). I would expect target_url to be 'foo?blah=1' in OnBeforePopup(), and it is.

Is there anyway I can read this value after the window has actually been created in OnAfterCreated()?

I observe I could check the frame's URL, but that is not yielding any result.
damonkashu
Techie
 
Posts: 16
Joined: Tue May 24, 2016 8:26 pm

Re: target_url between OnBeforePopup and OnAfterCreated

Postby magreenblatt » Thu Jan 12, 2017 9:52 am

You can get the URL in OnBeforeBrowse.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

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