Søg i 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.

Læs mere

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

  • Ingen svar
  • 0 har dette problem
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:...")`

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.