Change favicon icon depending on browser type

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mistral

    #1

    Change favicon icon depending on browser type

    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.
  • Evertjan.

    #2
    Re: Change favicon icon depending on browser type

    mistral wrote on 24 apr 2008 in comp.lang.javas cript:
    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)

    Comment

    • mistral

      #3
      Re: Change favicon icon depending on browser type

      On 25 ÁÐÒ, 01:20, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
      mistral wrote on 24 apr 2008 in comp.lang.javas cript:
      >
      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

      Comment

      • Evertjan.

        #4
        Re: Change favicon icon depending on browser type

        mistral wrote on 25 apr 2008 in comp.lang.javas cript:
        On 25 ÁÐÒ, 01:20, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
        >mistral wrote on 24 apr 2008 in comp.lang.javas cript:
        >>
        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)

        Comment

        • Evertjan.

          #5
          Re: Change favicon icon depending on browser type

          Evertjan. wrote on 25 apr 2008 in comp.lang.javas cript:
          mistral wrote on 25 apr 2008 in comp.lang.javas cript:
          >
          >On 25 ÁÐÒ, 01:20, "Evertjan." <exjxw.hannivo. ..@interxnl.net wrote:
          >>mistral wrote on 24 apr 2008 in comp.lang.javas cript:
          >>>
          >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)

          Comment

          Working...