Iphone Don';I don’我不想让电话线在brwsers中呼出,只想用电话
我正在使用 因为我在页面上有其他不是电话号码的号码,不希望被检测到。Iphone Don';I don’我不想让电话线在brwsers中呼出,只想用电话,iphone,html,css,meta,tel,Iphone,Html,Css,Meta,Tel,我正在使用 因为我在页面上有其他不是电话号码的号码,不希望被检测到。 我将数字包装在一个链接中,但我不希望它在浏览器中可以点击,只能在设备上点击。这实际上非常简单,描述得非常透彻- // Disable automatic telephone number detection <meta name = "format-detection" content = "telephone=no"> // Explicitly mark a number as a telephone num
我将数字包装在一个链接中,但我不希望它在浏览器中可以点击,只能在设备上点击。这实际上非常简单,描述得非常透彻-
// Disable automatic telephone number detection
<meta name = "format-detection" content = "telephone=no">
// Explicitly mark a number as a telephone number
<p>A phone number: <a href="tel:1-408-555-5555">1-408-555-5555</a></p>
然而,在使用Skype for VOIP等软件的时代,为什么要在桌面浏览器中削弱这一功能?有关为什么浏览器嗅探是个坏主意的详细讨论,请参阅 你能详细说明这是在什么地方以及如何发生的吗;你所说的“浏览器”和“设备”是什么意思。不太清楚你在问什么。您能重新表述您的问题吗?请检查代理标签,如果是桌面浏览器,请不要将其作为链接?
$('a.someClass').click(function(e) {
if (!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/)) {
e.preventDefault();
}
});