By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,852 Members | 1,014 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,852 IT Pros & Developers. It's quick & easy.

Change favicon icon depending on browser type

P: n/a
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.
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 27 '08 #2

P: n/a
On 25 Сав, 01:20, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
---------

You mean change it with PHP?

thanks
Jun 27 '08 #3

P: n/a
mistral wrote on 25 apr 2008 in comp.lang.javascript:
On 25 Сав, 01:20, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
>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.
[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].
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 27 '08 #4

P: n/a
Evertjan. wrote on 25 apr 2008 in comp.lang.javascript:
mistral wrote on 25 apr 2008 in comp.lang.javascript:
>On 25 Сав, 01:20, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
>>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.

[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.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.