Blog2014 ≫ Changing the favicon dynamically

You see the little pirate picture of me up by the location bar there? That's the favicon of this page. I've been saving this bit of code 1 for a while, had it open in a tab, I'm trying to think of a good use for it. Gmail uses it to show the number of emails in your inbox, and this site has a game 2. Can I think of anything useful for any of my websites? I will try...

AHA possibly going to use it for work.

  1. Removed old stackoverflow.com/questions/6296574/dynamic-favicon-with-count-like-gmail link here.
  2. Removed old p01.org/releases/DEFENDER_of_the_favicon/ link here.

⬅️ :: ➡️

Paulʼs blog - I live some place you've not heard of near Folkestone in Kent. Married + dad to two, I am a full-stack web developr, + I do js / nodejs, some ruby, python, php ect ect. My hobbies are pubbing, running, restaurants, home automation 🤖 + other diy stuff, history, family tree stuff, telly, squirrels, pirates, lego, and TIME TRAVEL.