Chapter 9. The Browser Object Model
Up until now, we've been looking mainly at JavaScript in the abstract. This chapter starts to touch on JavaScript as it's really applied in the wild.
After reading this chapter, you'll be able to
Understand the different objects available as part of the window object.
Use the navigator object to view properties of the visitor's browser.
Obtain information about the visitor's screen, including available height and width.
Use JavaScript to detect whether or not Java is enabled in the browser.
Parse the query string sent by the browser.
Introducing the Browser
I feel rather sheepish about writing this, but it's important, so I'm going to say it anyway: the browser is central to JavaScript programming. Projects like Rhino ...
Get JavaScript Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.