Skip to content
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

How to intercept the link address marked as "_blank" in the webview control #17

Open
SkyLV-007 opened this issue Jun 4, 2020 · 2 comments

Comments

@SkyLV-007
Copy link

SkyLV-007 commented Jun 4, 2020

Don't allow web pages to be opened outside of webview

@SkyLV-007
Copy link
Author

Maybe we can investigate one of these ideas:

https://stackoverflow.com/questions/1037839/how-to-force-link-from-iframe-to-be-opened-in-the-parent-window

https://stackoverflow.com/questions/1225245/force-any-href-in-an-iframe-to-use-its-parent-as-the-target

I want to get the link of _blank to be displayed in the webview of tabcontrol instead of replacing the current webview

avdynut pushed a commit to avdynut/OpenSilver that referenced this issue Jun 16, 2022
Added support for max height and width for image elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants