O'Reilly logo

JavaScript Step by Step by Steve Suehring

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 like ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required