Chrome version 30.0.1599.16
iOS 7.0.2

Opening first link works as expected (opens new tab), subsequent links on the same tab open about:blank tab and do nothing.

Issue specific for iOS Chrome.

Tested against links at http://www.challies.com/a-la-carte/a-la-carte-926-3

Possibly related to: https://code.google.com/p/chromium/issues/detail?id=142899
New issue opened at: https://code.google.com/p/chromium/issues/detail?id=305897

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

elachlan’s picture

Could you please let me know if the problem still exists with the dev module?

ryan.gibson’s picture

Installed dev and will be testing today.

ryan.gibson’s picture

Status: Active » Needs review

Looks like it fixed the issue, I had several people test it. Only comment I received is that the target= has been removed. Not sure if that's relevant or not.

ryan.gibson’s picture

FileSize
1.88 MB

Okay, looks like target=blank isn't working. Attaching screenshot of settings.

ryan.gibson’s picture

Oops, wrong screenshot...

screenshot

elachlan’s picture

Does it not work at all? or is it not working on mobile sites?

ryan.gibson’s picture

Status: Needs review » Needs work

So here's an update. Maybe my site is just crazy at this point because others don't seem to be having the same issue in the queue.

  1. After installing dev as you mentioned in #1 I thought it was fixed with the exception of the _blank being removed from target. But it must have been a caching issue. The next day it wasn't working at all on both desktop and mobile (and I didn't see any js errors).
  2. After confirming my settings in the dev version, I uninstalled the external links module entirely, cleared the cache, and then installed the dev module directly. Now I am back to the original issue of links opening correctly on Desktop but not opening at all on some mobile devices.
ryan.gibson’s picture

K, I can now confirm this is happening first hand. On an iPhone, the link with the text "Standing Strong" in the first sentence of this node's body opens to a new tab on iPhone using Chrome browser but doesn't load any content.

Again, use this link:

http://www.challies.com/a-la-carte/a-la-carte-107-3

and then click the link "Standing Strong" to reproduce the behavior.

ryan.gibson’s picture

Looks like this issue is specific to Chrome for iOS.

ryan.gibson’s picture

On my end as well, looks like first link clicked on page load/reload works. All links clicked after that experience the problem.

ryan.gibson’s picture

Issue summary: View changes

adding example url

ryan.gibson’s picture

Going to try and give a summary here of what I've found out. On latest dev:

  1. On an iPhone using the Chrome browser if an external link is clicked it works as expected an opens a new tab.
  2. Upon closing the new tab and returning to the parent page, if another (different or same) external link is tapped, a new blank tab will open that loads nothing.
  3. In order for the links to begin working again, the page must be reloaded. This somewhat defeats the purpose of an external link.

I've looked through the Chromium issue queue but haven't seen anyone else dealing with the same issue.

ryan.gibson’s picture

Status: Needs work » Active

Updating status

elachlan’s picture

Title: External link on Responsive Mobile site not always working correctly » External Links functions incorrectly with Chrome on iOS

Thanks for all the information.

Can you please let me know the version of iOS and chrome you are using?

I do not have an iphone to test this against. So this might be hard for me to reproduce.

External Links uses JQuery to insert the links.

if (settings.extlink.extTarget) {
    // Apply the target attribute to all links.
    $(external_links).attr('target', settings.extlink.extTargetValue);
  }

Could be related to: https://code.google.com/p/chromium/issues/detail?id=142899

ryan.gibson’s picture

Definitely could be related.

Chrome version 30.0.1599.16
iOS 7.0.2

ryan.gibson’s picture

Issue summary: View changes

Updating original post to make it more clear.

elachlan’s picture

Updated the issue summary.

I am going to say it is probably an issue with the implementation of the target attribute/JQuery in iOS Chrome.

So there isn't much we can do at the moment. But we will keep an eye on the issue.

ryan.gibson’s picture

For tracking purposes, new Chromium issue posted at

https://code.google.com/p/chromium/issues/detail?id=305897

ryan.gibson’s picture

Issue summary: View changes

Updated summary

ryan.gibson’s picture

Issue summary: View changes

Adding new Chromium issue to summary

ryan.gibson’s picture

Chromium issue updated, however, this might be helpful here as well. Unminified and uncompressed version of page with issue is located at

http://development.challies.com/a-la-carte/weekend-a-la-carte-119-0

elachlan’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)
ericjgruber’s picture

I'm having this issue today, but it's not limited to Chrome. Safari and Chrome on iOS won't open external links in a new window, but desktop works fine.

elachlan’s picture

You are more than welcome to try and converse with the developers at Chromium. They will need an example site and solid instructions.

https://code.google.com/p/chromium/issues/detail?id=305897

elachlan’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)