You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to be able to intercept and view information about new window events (ie: popups, target=_blank links, etc) and choose whether to allow them.
Describe the solution you'd like
A way to register a handler for new window events.
Describe alternatives you've considered
Onbeforeload javascript to rewrite and/or register javascript event handlers on all potential sources of navigation - this does not cover programatically added buttons and a number of other cases.
Proxying - requires a local proxy on the entire host machine OR implementation of the proxying configuration on webviews. Either option would probably be quite cumbersome.
Would you assign yourself to implement this feature?
Yes
No
Additional context
I'm creating this issue as more of a formality than anything - I already have a PR for this open
The text was updated successfully, but these errors were encountered:
* Add handler + setter to webviewattr
* Basic impl for windows
* Add new window request event example
* Implement new window request event for linux
* Attempt WKWebview implementation
* Fix WKWebview implementation
Also fixes incorrect drop impl
* Improve formatting
* Update examples/new_window_req_event.rs
Remove set automation
Co-authored-by: Amr Bashir <[email protected]>
* Improve docs
* Adjust to match changes in dev
* fmt
* changefil
* fix windows
Co-authored-by: Iain Laird <[email protected]>
Co-authored-by: Amr Bashir <[email protected]>
Is your feature request related to a problem? Please describe.
I'd like to be able to intercept and view information about new window events (ie: popups, target=_blank links, etc) and choose whether to allow them.
Describe the solution you'd like
A way to register a handler for new window events.
Describe alternatives you've considered
Onbeforeload javascript to rewrite and/or register javascript event handlers on all potential sources of navigation - this does not cover programatically added buttons and a number of other cases.
Proxying - requires a local proxy on the entire host machine OR implementation of the proxying configuration on webviews. Either option would probably be quite cumbersome.
Would you assign yourself to implement this feature?
Additional context
I'm creating this issue as more of a formality than anything - I already have a PR for this open
The text was updated successfully, but these errors were encountered: