我刚刚发现,有一个元标记可以删除电话号码,作为iOS上的HTML链接。这适用于HTML电子邮件吗?
<meta name="format-detection" content="telephone=no">还有地址和日期的吗?我一直在写黑客来克服这一点,但如果它是一个元标签,这是很好的!有人知道地址和日期的语法吗?
发布于 2015-01-19 15:05:40
是的,有。您可以使用:
将它们结合起来:
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="address=no">
<meta name="format-detection" content="email=no">发布于 2016-07-18 21:10:04
我运气很好:
<style>
a[href^="x-apple-data-detectors:"] {
color: inherit;
text-decoration: inherit;
}
</style>发布于 2021-02-20 19:06:54
我认为最好把它们集中在一个元标签上:
<meta name="format-detection" content="telephone=no, email=no, address=no" />https://stackoverflow.com/questions/28027330
复制相似问题