Emoji Polyfill

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

Verze ze dne 17. 03. 2015. Zobrazit nejnovější verzi.

Autor
James Edward Lewis II
Hodnocení
0 0 0
Verze
1.0.2
Vytvořeno
15. 03. 2015
Aktualizováno
17. 03. 2015
Size
102,8 KB
Licence
neuvedeno
Spustit na
všech stránkách

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).