Hi.
Now, it's propably every kids dream (that programs with PB) to once write an own Web Browser.
As often as it's said that PureBasic is not made to offer a full web browser's functionality's support, I must press the fact that there is one important piece of even an in-program web browsing module missing - the getting of the blocked popup page's URL.
It would be needed to write a tab-based browser or to turn popup pages into non-popup calls.
The NavigationCallback does not retrieve blocked popup pages' URLs.
So, how can we get them?
Regards,
es_91.
Retrieving URLs Of Blocked Popups On Webgadget
Re: Retrieving URLs Of Blocked Popups On Webgadget
http://forums.purebasic.fr/english/view ... 13&t=32464Freak wrote:There is a DWebBrowserEvents2 interface implemented for the WebGadget to listen to
its events. There is a NewWindow2 and a NewWindow3 event which fire when a popup is to be opened.
The NewWindow3 event provides information such as the Url to open, but i never got it to fire
that event in my tests. I only received the NewWindow2 which gives no such info.
Thats why there is no option in PB to get the url that would be opened.
