Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • Không có trả lời
  • 2 gặp vấn đề này
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:...")`

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.