Main Page

Web application usability

Figure 8-3
This is an important part of Web application usability. Many sites provide a generic login form that any
browser can use even though the internal functionality requires a specific browser. This login page
ensures that users of the Web application have the minimum requirements necessary to access all its fea-
tures without making a trip back to the server.
Summary
In this chapter, you’ve learned how to detect browsers, platforms, and operating systems using the navi-
gator object, and more specifically, the browser user-agent string. You built a browser and operating sys-
tem detection script that accurately detects the most common Web browsers and operating systems. The
detection script makes use of skills you’ve learned earlier in the book, such as string manipulation and
regular expressions.
259
Browser and Operating System Detection
11_579088 ch08.qxd 3/28/05 11:38 AM Page 259


JavaScript EditorFree JavaScript Editor     Ajax Editor


©