Chapter 9. The Browser Object Model

After completing this chapter, you will 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 Java is enabled in the browser.

  • Parse the query string sent by the browser.

Introducing the browser

Until this chapter in the book, you reviewed JavaScript mainly in the abstract. This chapter starts to examine JavaScript as you’d apply it in the real world.

I feel rather silly about writing this, but it’s important, so I’m going to say it anyway: the browser is central to JavaScript programming. Projects ...

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.