Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jnpatel
on Nov 16, 2016
|
parent
|
context
|
favorite
| on:
Ask HN: What simple tools or products are you most...
I didn't check the source, but rendering the <canvas> to a data URL, and using something like this [0] would work.
[0]:
http://stackoverflow.com/questions/5199902/isnt-it-silly-tha...
0x1d
on Nov 16, 2016
[–]
Yep, this is the strategy that I'm using. I export the canvas to data URL and place the data URL in the href attribute of the favicon <link>. I'm not sure if this works in every browser though.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0]: http://stackoverflow.com/questions/5199902/isnt-it-silly-tha...