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?
|
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.aspxThanks!
|