[
https://issues.apache.org/jira/browse/CB-10753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181845#comment-15181845
]
Timo Ernst commented on CB-10753:
---------------------------------
Nah, I tried using a link with target=_blank and it works except if the link is
within an iframe.
Also, I tried to use window.open(url, '_blank') within the iframe but that also
doesn't work. I don't have control of the content within the iframe anyway, so
replacing the link with something else is not possible.
> InAppBrowser will not work with iframe embedded
> -----------------------------------------------
>
> Key: CB-10753
> URL: https://issues.apache.org/jira/browse/CB-10753
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS, Plugin InAppBrowser
> Reporter: Timo Ernst
>
> When a Cordova app has an iframe within its index.html page and this iframe
> has a link with target set to "_blank", then InAppBrowser will not open a new
> webview layer. Instead, the whole root webview of the app will be redirected
> to the url set in the link and there is no way back! This is a true nightmare
> and needs to be fixed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]