Thursday, March 16th, 2006
Michael Mahemoff has posted an interesting idea concerning other uses for the “favicon” supported by browsers these days. He suggests that favicons shoul dbe supported just as easily as any other DOM-accessible item in the page, and sets out to discover the truth.
I’ve found surprisingly little info on this – is anyone doing it? Anyway, I’ve been wanting to play around with this for a while and having recently submitted the final book draft (post pending), I finally had some spare time to play with it. Fortunately, it turns out to be perfectly feasible – it seems that Firefox and Opera both use tags to determine favico, and this can be changed dynamically to satisfaction.
He finds that it is entirely possible to work with the link tags to make the change, with only one real “gotcha” – reusing the same tag/node and just overwriting the content doesn’t always seem to work. Also, unfortunately, IE and Safari don’t seem to work quite the same as Firefox and Opera – they only look to the favicon.ico file on the server.
Posted by Chris Cornutt at 8:49 am