Retrieving URLs Of Blocked Popups On Webgadget

Everything else that doesn't fall into one of the other PB categories.
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Retrieving URLs Of Blocked Popups On Webgadget

Post by es_91 »

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.
:mrgreen:
es_91
Enthusiast
Enthusiast
Posts: 298
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Retrieving URLs Of Blocked Popups On Webgadget

Post by es_91 »

Freak 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.
http://forums.purebasic.fr/english/view ... 13&t=32464
:mrgreen:
Post Reply