Change favicon icon depending on browser type

M

mistral

Does it possible change favicon icon depending on browser type:
display favicon.ico for Internet Explorer browsers, and favicon.gif
for the rest browsers? Problem is that ugly MSIE can display only .ICO
favicons, whereas other browsers support any favicon type - gif, png,
jpg. Since gif favicons has much better quality than ico file, I'm
wondering does it possible sort browsers with javascript and show
appropriate favicon type for specific browser?

Regards,
M.
 
E

Evertjan.

mistral wrote on 24 apr 2008 in comp.lang.javascript:
Does it possible change favicon icon depending on browser type:
display favicon.ico for Internet Explorer browsers, and favicon.gif
for the rest browsers?

I suppose you can do that serverside, not with a clientside script.
 
E

Evertjan.

mistral wrote on 25 apr 2008 in comp.lang.javascript:

[please do not quote signatures on usenet]
You mean change it with PHP?

No, not especially so.

Any serverside language,
so also serverside javascript [ = ASP-jscript].

You could return a stream depending on the reported user agent,
[not neccesarily the factual one].
 
E

Evertjan.

Evertjan. wrote on 25 apr 2008 in comp.lang.javascript:
mistral wrote on 25 apr 2008 in comp.lang.javascript:

[please do not quote signatures on usenet]
You mean change it with PHP?

No, not especially so.

Any serverside language,
so also serverside javascript [ = ASP-jscript].

You could return a stream depending on the reported user agent,
[not neccesarily the factual one].

.... or have serverisde change the meta tag.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top