How to remove click-to-call links for IE mobile browsers

笑着哭i 提交于 2019-12-10 14:34:24

问题


Hi I am able to remove click-to-call links for labels / numbers in Iphone & Blackberry by keeping the above tags in the header part.

<meta name="format-detection" content="telephone=no"> //for Safari
<meta http-equiv="x-rim-auto-match" content="none"> //for Blackberry

Like this do we have any property for Internet Explorer ( Windows Mobile Browser ) ?


回答1:


It appears that this functionality is not present in the current release of the OS and IE will parse numbers, addresses and emails automatically. As per the public doc:

Internet Explorer Mobile automatically recognizes phone numbers, email addresses, and physical addresses on webpages, regardless of whether they were designed as hyperlinks or not—so users can make a phone call, send an email, or map an address with just a tap or two.




回答2:


You can wrap your number in <pre> tag. This will remove click-to-call links even in iPhone, without meta tags.

P.S. Tested on HTC HD7 and iPhone 4



来源:https://stackoverflow.com/questions/5976061/how-to-remove-click-to-call-links-for-ie-mobile-browsers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!