iPad - 全局禁用后识别指定的电话号码
我对 iPad 进行了网页优化,我注意到有时它会将我的随机数字识别为电话号码。我已经用这个元处理了这个问题:
<meta name = "format-detection" content = "telephone=no" />
它工作得很好。但现在我遇到了一个问题。在一个网页上,我有联系信息(包括电话号码),并且我希望该电话号码能够被识别。我怎样才能告诉 iPad 只识别该号码,而忽略所有其他号码?
I'm have webpage optimizes for iPad, and I've noticed that sometimes it recognizes my random numbers as telephone numbers. I've dealt with that with this meta:
<meta name = "format-detection" content = "telephone=no" />
and it works perfectly. But now I have kind of a problem. On one webpage, I have contact information (including telephone number), and I want that telephone number to get recognized. How can I tell iPad to recognize only that number, while ignoring all others ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要明确告知 Safari 什么是电话链接。查看 IOS 开发者库。
You need to explicitly inform Safari what is a telephone link. Take a look on the IOS Developer Library.