New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add_NewWindowRequested only handles window.open() #108
Comments
Hi TcT2k, Thanks so much for the feedback! We are aware of this and actively working on it. I'll circle back to this thread once we release a fix. |
I reproduced this as well. I would also like to deny context menu new window/tab and possibly redirect to existing webview. I tried to use the existing webview for the window open() content in the handler but the window open() content is never displayed. Perhaps a webview setting that directs all window open(), new window/tab into the existing webview or something similar. |
Hi @TcT2k, We have resolved this issue in our latest SDK update: |
@pagoe-msft Please reopen this issue until it is fixed or I could open a new issue if you prefer. FYI the link you posted is not accessible publicly |
What about clicking hyperlinks in HTML where the target is |
Currently there is no way to detect (or deny) new windows requested by the user via: context menu, middle mouse button click or control+click.
I would expect the
NewWindowRequested
event to be triggered or at have another mechanism to detect and/or deny such actions.The text was updated successfully, but these errors were encountered: