What's a reliable method for setting up telephone links for mobile browsers?

后端 未结 3 1431
攒了一身酷
攒了一身酷 2021-01-04 01:16

I\'m working on a quick page intended for mobile browsers. While there is little consistency between browsers on cell phones (the target audience), I have a phone number th

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-04 01:17

    The approach you are using is the 'standard' way to do this (i.e follows RFC 3966). If a mobile browser does not interpret it correctly, the only obvious way to fix this would be to extend or modify the browsers behavior itself, which you probably do not want to do or have access to do.

    I believe it is supported on Windows devices (mobile explorer), iPhone (safari), Symbian and from what you are saying Blackberry and Android.

    Are you finding problems with theses devices or are you supporting other mobile phones also?

    Note that others seem to be having the opposite problem with iPhone and iPad as the default browser (Safari) changes anything that looks like a phone number into a link:

    http://www.darowski.com/tracesofinspiration/2009/03/31/stop-iphone-from-incorrectly-auto-linking-phone-numbers/

提交回复
热议问题