Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6747

Cordova InAppBrowser and <a target=“_blank”> not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.4.0
    • None
    • None
    • iOS, Android

    Description

      I am using Cordova 3.4.1 on iOS with the InAppBrowser plugin version 0.4.0.

      When I have an <a href="...." target="_blank"> element, it is supposed to open in the InAppBrowser but it doesn't. Instead in replaces my app in the CordovaWebView and I have no way of getting back to the app.

      if I do window.open it seems to work fine, but it isn't really feasible for me to add onclick handlers to all my links to then open them up in the InAppBrowser.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              niltz Jeff Sawatzky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: