Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
rosstex
9y ago
0 comments
Save
Share
What is this magic?
0 comments
2 comments · 1 top-level
top
newest
oldest
jnpatel
9y ago
· 1 in thread
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
9y ago
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.
j
/
k
navigate · click thread line to collapse