如何从Microsoft Edge中删除自动超链接的电话号码 [英] How to remove a auto hyperlinked phone number from Microsoft Edge

查看:1242
本文介绍了如何从Microsoft Edge中删除自动超链接的电话号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在网页应用程序上的时间戳是

I have time stamps on a web application in the form of

不断被Microsoft Edge浏览器装饰为电话号码链接。我不想要这个。显然,这是一个'tel'协议,单击它将尝试打开任何配置为使用'tel'协议的应用程序。我知道有一个元标记可以添加到页面上以防止它们在iOS设备上进行装饰,但是我如何在Microsoft Edge浏览器上执行此操作?

which keeps getting decorated by Microsoft Edge browser as phone number links. I do not want this. Apparently, this is a 'tel' protocol and clicking on it will try to open whatever application is configured to work with the 'tel' protocol. I know there is a meta tag you can add to pages to prevent them being decorated as such on iOS devices, but how would I do this on the Microsoft Edge browser?

推荐答案

适用于iOS设备的解决方案也适用于Microsoft Edge。

The solution that works for iOS devices also works for Microsoft Edge.

添加元标记,

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

将阻止在浏览器解析时修改DOM文档。

will prevent the DOM document from being modified when parsed by the browser.

请参阅:
https://developer.apple.com/library/safari/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html

如何删除Iphone上的电话号码链接?

MSDN参考链接:
https:// msdn .microsoft.com / zh-CN / library / dn265018(v = vs.85).aspx

MSDN reference link: https://msdn.microsoft.com/en-us/library/dn265018(v=vs.85).aspx

这篇关于如何从Microsoft Edge中删除自动超链接的电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆