Welcome Guest Search | Active Topics | Sign In | Register

EO WebBrowser - allow popups policy Options
rzn
Posted: Monday, May 17, 2021 6:26:27 AM
Rank: Newbie
Groups: Member

Joined: 5/17/2021
Posts: 2
In Chrome it is possible to set a policy allowing all popups from certain sites in the chrome://policy/ settings.
In our organisation we have done just that for certain sites and this allows us to use javascript redirects without being blocked while running some business applications within an EO.Webbrowser.

The question is: Is it possible to enable this in EO or is there a similar setting that I may have missed?
eo_support
Posted: Monday, May 17, 2021 10:07:31 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

In EO.WebBrowser how to respond a popup is handled by your own code, specifically, by handling the WebView's NewWindow event. If you do not handle this event at all, then all popup will be blocked. So you can implement whatever logic/conditions in your event handler to decide how to handle each popup. See here for more details on how to handle this event:

https://www.essentialobjects.com/doc/webbrowser/advanced/new_window.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.