Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • Нет ответов
  • 2 имеют эту проблему
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:...")`

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.