Skip to content
Emoji Favicon Toolkit - Set your favicon to emoji using canvas & cache as /favicon.ico with service workers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src
.gitignore
LICENSE.md
README.md
package.json
tsconfig.json

README.md

Emoji Favicon Toolkit

This code only works in browsers that support ServiceWorker favicons, such as Chrome 72+.

Usage

  1. Download /dist/emoji-favicon-toolkit.js
  2. Include <script src="/emoji-favicon-toolkit.js"/>
  3. Don't put it in a webpack or rollup.

Static usage

<link rel="icon" type="text/plain" href="data:;charset=utf-8,🍔" sizes="any"/>

API usage

set_emoji_favicon(emoji="", cacheWithServiceWorker=false)
You can’t perform that action at this time.