SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    May 2004
    Location
    Elx (Alacant)
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Javascript Browser Sniffer 0.5 released

    The Javascript Browser Sniffer is a Javascript library for identifying which browser and operating system is the visitor using, including the version number. It also detects bots and the Flash plugin.

    Currently, jsbrwsniff identifies 30 browsers, 14 browser engines, 25 operating sytems and 6 bots, comprising more than 99% of the visits to any site and making it far powerful than the Mozilla javascript sniffer.

    Most remarkable hits in this new version 0.5 are working at server-side (with ASP, for instance) and the long-awaited Flash plugin detection.

    You can download it at http://jsbrwsniff.sf.net. It's free under the LGPL license

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,449
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Pretty nice. Thanks for the heads up.

  3. #3
    SitePoint Guru
    Join Date
    Mar 2004
    Location
    Earth
    Posts
    406
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's a good script, but your heavy reliance on navigator information means you'll fail to identify browsers that are spoofing as something else. I have my Firefox set to identify as Google, and your script just thought I was a robot.

    If you inject it with some object and feature detection you'll largely avoid that kind of problem - http://www.howtocreate.co.uk/tutoria...s/sniffer.html


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •