iOS 8.3 Mobile Safari 禁用表情符号渲染
iOS 8.3 Mobile Safari disable emoji rendering
Apple 最近发布了 iOS 8.3。
他们添加了更多的表情符号,现在所有表情符号都在移动浏览器中呈现。
例如 ▶ 将呈现为表情符号图标。
有没有办法禁用表情符号渲染?例如通过 CSS 或 JavaScript?
是的,您可以通过使用适当的变体字形逐个字符地禁用这些。
由于未指定变体,以下示例会将黑色的右指三角形呈现为表情符号。
▶
但是,如果您指定了正确的变体字形,您将获得文本。
▶︎
一般来说,︎
为您提供文本版本,️
或未另行指定的为您提供表情符号版本。
见http://anthonyticknor.com/demos/emoji/ for an example in practice for the left arrow and the black heavy heart. I picked up most of what I did there from http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/
Apple 最近发布了 iOS 8.3。 他们添加了更多的表情符号,现在所有表情符号都在移动浏览器中呈现。 例如 ▶ 将呈现为表情符号图标。 有没有办法禁用表情符号渲染?例如通过 CSS 或 JavaScript?
是的,您可以通过使用适当的变体字形逐个字符地禁用这些。
由于未指定变体,以下示例会将黑色的右指三角形呈现为表情符号。
▶
但是,如果您指定了正确的变体字形,您将获得文本。
▶︎
一般来说,︎
为您提供文本版本,️
或未另行指定的为您提供表情符号版本。
见http://anthonyticknor.com/demos/emoji/ for an example in practice for the left arrow and the black heavy heart. I picked up most of what I did there from http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/