treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Detect Firefox 3

  • Hi!
    I'd like to encourage visitors on my website who are using Firefox 3 to enable "gfx.color_management.enabled", so I have a <p class="ff">Please set blabla to true. It makes your life brider, particulary the photos you are watching in ff3</p>. The class is set to "hidden" by default and should be displayed if user agent is ff3. But I don't know how to detect ff3 exctly. Does anybody know?
    Thanks! Runa
  • "runa" said:
    Hi!
    I'd like to encourage visitors on my website who are using Firefox 3 to enable "gfx.color_management.enabled", so I have a <p class="ff">Please set blabla to true. It makes your life brider, particulary the photos you are watching in ff3</p>. The class is set to "hidden" by default and should be displayed if user agent is ff3. But I don't know how to detect ff3 exctly. Does anybody know?
    Thanks! Runa


    Google showed me a few places, but this one I think stands out: http://www.w3schools.com/js/tryit.asp?f ... js_browser