You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Owen (JIRA)" <ji...@apache.org> on 2013/09/12 00:02:52 UTC
[jira] [Comment Edited] (CB-4794) [ios] should be able to open
links in Safari without needing InAppBrowser plugin
[ https://issues.apache.org/jira/browse/CB-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764845#comment-13764845 ]
Owen edited comment on CB-4794 at 9/11/13 10:02 PM:
----------------------------------------------------
Using the InAppBrowser plugin:
<a href="http://www.google.com" target="_system">_system</a>
<a href="http://www.google.com" target="_blank">_blank</a>
Both open in current window. Only this command opens Safari:
window.open('http://www.google.com', '_system')
was (Author: ocq):
Using the InAppBrowser plugin:
<a href="http://www.google.com" target="_system">_system</a>
<a href="http://www.google.com" target="_blank">_blank</a>
Both open in current window. Only the follow command opens Safari:
window.open('http://www.google.com', '_system')
> [ios] should be able to open links in Safari without needing InAppBrowser plugin
> --------------------------------------------------------------------------------
>
> Key: CB-4794
> URL: https://issues.apache.org/jira/browse/CB-4794
> Project: Apache Cordova
> Issue Type: Bug
> Environment: CLI 3.0.9, Xcode 5.0, OSX 10.8.4
> Reporter: Owen
> Fix For: 2.2.0
>
>
> #CB-362 seems to suggest 'external' links are only possible with 'InApp'Browser plugin. The language use is not intuitive, and is not mentioned in the docs. Also it would be beneficial not to need a plugin for basic link behaviour.
> Tested using (whitelist="*"):
> <a href="http://www.google.com" target="_system">_system</a>
> <a href="http://www.google.com" target="_blank">_blank</a>
> Both open in current window.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira