Emoji Polyfill

This makes the browser support emoji by using native fonts if possible and a fallback if not.

À partir de 2015-03-17. Voir la dernière version.

Auteur
James Edward Lewis II
Évaluations
0 0 0
Version
1.0.2
Créer
2015-03-15
Mis à jour
2015-03-17
Taille
103 ko
Licence
S/O
S'applique à
Tous les sites

As the URL to the source code makes clear, this is ultimately derived from the Chromoji extension for Google Chrome, although it is now very different: https://github.com/lewisje/Chromoji/tree/userscript

After experimenting with stripping out the functionality of Chromoji to solely support textual emoji, I discovered that I needed none of the power of a Chrome extension to do it, and I ended up stripping out almost all of the code; after that, to make it into a UserScript, I only needed to inject the tiny stylesheet included with the extension, and encode the bundled fonts as data; URIs (Symbola was too big to do this with whole, but maybe if I figure out what to subset I can make it small enough).