Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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:...")`

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.