如何从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