Forgot password
 Register account
View 724|Reply 1

如何禁止 Safari 浏览器自动识别数字串为电话号码?

[Copy link]

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-30 14:55 |Read mode
Last edited by kuing 2025-4-30 15:12如题,页面上如果有一串看起来像电话号码的数字,浏览器就会自动添加链接,点击就能拨打。

但它会影响到公式,有时公式的系数就是一长串数字,添加的链接就会影响 mathjax 的渲染。

例:$ 1234567 x^2 + 123456789 y^2 $
显示:$ 1234567 x^2 + 123456789 y^2 $
chrome 上看正常,Safari 看就会不一样:
IMG_0009.jpeg

搜了下网上,都说要在网页添加 <meta name="format-detection" content="telephone=no" />

这到底是要网页创建者添加,还是用户也可以在 Safari 里添加?

如果是指前者,这是站长做的事,而不是用户做的事呀,就不能在浏览器设置里关闭吗?真不科学😒😒😒

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2025-4-30 17:19
我在论坛后台的“其他头部信息”里加上了那段 meta ,现在确实可以了😌

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-15 14:35 GMT+8

Powered by Discuz!

Processed in 0.014131 seconds, 26 queries