when target="_blank" webview can not open url
See original GitHub issue- version:nwjs-sdk-v0.21.5-win-x64
- webview page
<div class="webview">
<webview id="foo" src="http://xxxx/index.html" autosize="on"></webview>
</div>
- http://xxxx/index.html page
<a href="http://www.baidu.com" target="_blank">_blank</a>
when target=“_blank”,webview cannot open url; when target=“_self” is ok Demo_20170413Z64_.zip
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Open target _blank links in WebView with external browser
If URL contains my website name, then I opened it in WebView and rest ... If you don't set the WebViewClient, I think...
Read more >WebView doesnt open links with target blank : r/androiddev
I want that target blank urls open in the same webview! @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { view.
Read more >[Bug] Cannot open URLs with WebView android when the ...
Description Cannot open URLs with WebView android when the target is _blank Steps to Reproduce Create a simple project with WebView.
Read more >Open external browser on tapping on link with target=_blank ...
Webpage is getting loaded inside Xamarin forms webview, links with target="_blank" not working on android
Read more >How to open target="_blank" links in WKWebView in iOS
Short post explaining why by default target _blank links don't do ... in this case) that this link should be open in new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
please refer to https://developer.chrome.com/apps/tags/webview#type-NewWindow/ and below code:
@andy-huaan Chrome app also has the same result and error log:
@Christywl I think it’s just the “webview” tag limitation instead of a bug. please refer to http://stackoverflow.com/questions/18428668/how-to-open-a-new-window-from-a-link-in-a-webview-in-a-chrome-packaged-app.