Content-type: text/html Downes.ca ~ Stephen's Web ~ How to Create a Favicon That Changes Automatically

Stephen Downes

Knowledge, Learning, Community

This is a fun project you might try if you have time off in the next few weeks. The idea is to create a favicon that changes automatically. A favicon is the little image your website displays in the browser tab - mine is usually a sparrow head, but sometimes a gRSShopper logo. Changing the icon can be used to indicate unread content, or a number, or even the time. This article shows how to do it using plain Javascript and also using React. Fun!

Today: 5 Total: 115 [Direct link] [Share]


Stephen Downes Stephen Downes, Casselman, Canada
stephen@downes.ca

Copyright 2024
Last Updated: Nov 21, 2024 7:50 p.m.

Canadian Flag Creative Commons License.

Force:yes