Gmail Unread Message Count in Favicon

By Eric Bogs Last update Dec 22, 2011 — Installed 31,134 times.

icon code

in
Subscribe to icon code 3 posts, 3 voices



Tristan Hale User

I think it's pretty brilliant what you did with the icons, turning them into code. I'm interested in doing that myself, and was wondering how you did it.

Thanks a bunch. =)

 
alala Scriptwright

It's base64.

http://www.greywyvern.com/code/php/binary2base64

 
Eric Bogs Script's Author

1. Create the icons in Photoshop, export as Windows ICO (16x16, 8bit).
2. Convert them into an inline "data" URI, using a tool such as http://scalora.org/projects/uriencoder/

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel