O'Reilly logo

Inside JavaScript by Steven Holzner

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 10. Using the navigator, location, and history Objects

Using the navigator, location, and history Objects

In this chapter, we’ll take a look at the navigator, location, and history objects. We’ve seen all these objects before, but we’ll take a look at them in depth here. These objects give you tremendous power in JavaScript. I’ll start with the navigator object.

The navigator Object

The navigator object, also called the clientInformation object in IE4+, refers to the browser itself. In early versions of the Netscape Navigator, the navigator object actually functioned as the top-level object, although that role has now been taken over by the window object. As we’ve already seen in earlier ...

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