Ad

EnglishFrenchSpanish

Free editor online | DOC > | XLS > | PPT >


OffiDocs favicon

Emoji Polyfill in Chrome with OffiDocs

Emoji Polyfill  screen for extension Chrome web store in OffiDocs Chromium

Ad


DESCRIPTION


22 June 2022: The new regular expression for detecting emoji was too aggressive and matched common characters like en and em dashes; I had already kept it from modifying elements just for containing ©, ®, and ™, but I needed to exclude more symbols with code points near the ™ symbol.

However, if one of those copyright or trademark symbols is inside the same element as an ordinary emoji or a character in the Basic Multilingual Plane's Private Use Area, all of the symbols in that element will get an emoji presentation if available.

I have also found that if a symbol that could have an emoji or non-emoji presentation is followed by Variation Selector 15 (which specifies the non-emoji presentation), this extension may still make it look like an emoji.

--- 19 June 2022: This version uses Noto Color Emoji in preference to Segoe Ui Emoji on Windows, for greater consistency and to properly support all flags and new ZWJ sequences and the Unicode 14 emojis; it also includes the Twitter Color Emoji font for a few symbols that Noto Color Emoji does not support, and it still includes Symbola, which Douros has not updated in more than two years, as a backstop.

Keep in mind that you won't see the new emoji images on this extension page, because extensions cannot run in the Chrome Web Store.

--- 4 July 2020: This is somewhat delayed; a few months ago, Douros updated Symbola for the new Unicode 13 emojis.

--- 23 March 2019: Along with the announcement of new emojis for Unicode 12, Douros updated Symbola.

--- 20 June 2018: Earlier this month, Unicode 11 was released, and along with it, new emojis; afterward, Douros updated Symbola to support the new emojis.

--- 12 February 2018: Shortly before the announcement of the new emojis for Unicode 11, Douros updated Symbola.

--- 2 December 2017: Around the time when the Windows 10 Fall Creators Update was released, Douros updated Symbola to support even more emojis, and I did not notice this until today.

--- 13 July 2017: Douros has updated Symbola a little earlier than I expected, so I could update the extension before World Emoji Day; also, the Windows 10 Fall Creators Update will get a better emoji input method, so the EmojiOne Keyboard will no longer be useful, unless you prefer the way they draw the images.

--- 17 July 2016: For World Emoji Day 2016, I have updated the copy of Symbola used in the extension so that it now supports Unicode 9.0; fortunately, George Douros did update the font after all, so that I wouldn't need to use the much bulkier SVG-in-OT fonts based on Twemoji or EmojiOne, which are less crisp at higher resolutions in their black-and-white versions, which Chrome falls back to because only Firefox supports color SVG-in-OT.

Speaking of EmojiOne, if you prefer seeing graphical emojis or just want a good input method, use the EmojiOne Keyboard extension; consider combining its input method with this extension's use of Symbola, by turning off Auto-Replace in the EmojiOne Keyboard settings.

--- 12 October 2015: Now the extension uses more lazy function definitions, and also ES6 Symbols and ES5 property definitions, to further isolate the effects of this extension from ordinary page scripts; also, the regexes used now skip over most Japanese text and CJK Unified characters, and I have provided a framework for skipping over more astral characters when figuring out which ones are probably emoji (using a regex or series of regexes to find emoji directly has proven to be too slow).

--- In honor of

Run Chrome Extensions

Ad