【问题标题】:<meta name = "format-detection" content = "telephone=no"> not working<meta name = "format-detection" content = "telephone=no"> 不工作
【发布时间】:2017-11-27 04:56:46
【问题描述】:

以下用于格式检测的元标记在 Chrome 中不起作用:

<meta name = "format-detection" content = "telephone=no"> 

在Chrome中允许点击手机超链接拨打电话的代码如下:

<a href="tel:+18002237440" id="sk_ftrCallTxt" class="sk_footerSubTitle">Call</a>

【问题讨论】:

  • 我在这里推测,但我最好的猜测(也许有人可以确认?)是 telephone=no 将阻止浏览器解析 HTML 中的长数字并将它们动态转换为 tel: 链接.但这不会影响已经硬编码到文档中的tel: 链接。

标签: google-chrome tags format meta


【解决方案1】:

我想可能是因为你忘了“关闭”

应该是这样的: <meta name = "format-detection" content = "telephone=no" />

【讨论】:

    猜你喜欢
    • 2014-06-26
    • 2019-09-21
    • 1970-01-01
    • 2014-11-04
    • 1970-01-01
    • 1970-01-01
    • 2013-04-05
    • 1970-01-01
    • 2019-12-29
    相关资源
    最近更新 更多