Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

window.open with "tel:" url doesn't work as expected on Firefox on iOS

  • Tiada balasan
  • 2 ada masalah ini
more options

Hello Here you can see an example https://codepen.io/andrey11231990/full/MYgjKmJ the source code is here https://codepen.io/andrey11231990/pen/MYgjKmJ

The use case: I'm trying to do `window.open` and provide a phone number like `tel:911` and I expect it to open the phone app on mobile. This use case works with Safari on iOS, Firefox & Chrome on Android, but Firefox on iOS works only with the "top" version from the list, while other browsers (and even Firefox on Android) work with all of them. So, I suppose there is some issue/bug on Firefox on iOS that leads to this behaviour.

If I use a simple "URL" (not `tel:`), then Firefox on iOS works well, so the issue is reproducible only with `tel:`.

Also clicking on HTML tags (

Hello Here you can see an example https://codepen.io/andrey11231990/full/MYgjKmJ the source code is here https://codepen.io/andrey11231990/pen/MYgjKmJ The use case: I'm trying to do `window.open` and provide a phone number like `tel:911` and I expect it to open the phone app on mobile. This use case works with Safari on iOS, Firefox & Chrome on Android, but Firefox on iOS works only with the "top" version from the list, while other browsers (and even Firefox on Android) work with all of them. So, I suppose there is some issue/bug on Firefox on iOS that leads to this behaviour. If I use a simple "URL" (not `tel:`), then Firefox on iOS works well, so the issue is reproducible only with `tel:`. Also clicking on HTML tags (<a href="tel:...") works well on iOS, so issue is only with `window.open("tel:...")`

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.