iOS 8.3 Mobile Safari禁用表情符号渲染

时间:2022-08-24 10:38:56

Apple released iOS 8.3 recently. They added a lot more Emojis and all of them are rendered in mobile safari now. For Example ▶ will be rendered to an emoji icon. is there a way to disable emoji rendering? For example via CSS or JavaScript?

Apple最近发布了iOS 8.3。他们添加了更多的Emojis,现在所有这些都在移动游猎中呈现。例如▶将呈现为表情符号图标。有没有办法禁用表情符号渲染?例如通过CSS还是JavaScript?

1 个解决方案

#1


10  

Yes you can disable these on a character by character basis by using the proper variant glyph.

是的,您可以使用正确的变体字形逐个字符地禁用这些。

The following example will render the black right pointing triangle as emoji as no variant is specified.

以下示例将黑色右指向三角形呈现为表情符号,因为未指定变体。

▶

However, if you specify the proper variant glyph you'll get the text.

但是,如果指定了正确的变体字形,您将获得文本。

▶︎

Generally speaking, ︎ gets you the text version and ️ or not otherwise specified gets you the emoji version.

一般来说,︎获取文本版本和️或者没有另行指定获取表情符号版本。

See 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/

请参阅http://anthonyticknor.com/demos/emoji/,了解左箭头和黑色沉重心脏的实践示例。我从http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/获取了我在那里所做的大部分工作。

#1


10  

Yes you can disable these on a character by character basis by using the proper variant glyph.

是的,您可以使用正确的变体字形逐个字符地禁用这些。

The following example will render the black right pointing triangle as emoji as no variant is specified.

以下示例将黑色右指向三角形呈现为表情符号,因为未指定变体。

▶

However, if you specify the proper variant glyph you'll get the text.

但是,如果指定了正确的变体字形,您将获得文本。

▶︎

Generally speaking, ︎ gets you the text version and ️ or not otherwise specified gets you the emoji version.

一般来说,︎获取文本版本和️或者没有另行指定获取表情符号版本。

See 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/

请参阅http://anthonyticknor.com/demos/emoji/,了解左箭头和黑色沉重心脏的实践示例。我从http://mts.io/2015/04/21/unicode-symbol-render-text-emoji/获取了我在那里所做的大部分工作。